[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to make a new web component
[Thread Prev] | [Thread Next]
- Subject: Re: How to make a new web component
- From: Lee <t.lee.davidson@xxxxxxxxx>
- Date: Mon, 7 Jul 2025 08:45:11 -0400
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On 7/7/25 3:49 AM, Fabien Bodard wrote:
I begin to understand the basis but I stuck on adding this (LeafLet map) :<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css <https://unpkg.com/leaflet@1.9.4/dist/ leaflet.css>" integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" crossorigin="" /><script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js <https://unpkg.com/leaflet@1.9.4/dist/leaflet.js>" integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" crossorigin=""></script>How I'm I supposed to do to add this pre requise. ? (I've read a big part of the web.gui code but nothing about external js code) Thank you
Just a thought: A component should probably not rely on externally retrieved sources. The sources should be downloaded and saved locally so they are always available. And, having the sources "frozen" at a certain version would prevent any unexpected surprises.
-- Lee --- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ---- --- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----
Re: How to make a new web component | Fabien Bodard <gambas.fr@xxxxxxxxx> |
How to make a new web component | Fabien Bodard <gambas.fr@xxxxxxxxx> |