base-html

1.3.3 • Public • Published

utility-html

A set of CSS and JavaScript utilities packaged as an HTML import. UPDATE HTML imports cannot (yet) be safely used this way. There is no guarantee that JavaScript that depends on anything that happens in a script tag in the import will have deterministic execution if the tags are dynamically loaded (e.g. via tag injection).

Until such time as it is possible to dynamically load scripts and html imports and in some fashion set a deterministic execution order (the way you can by inject script elements with async set to false) this package will be a JavaScript file that injects the relevant style tag and other DOM content imperatively.

I'm not deprecating this package in favor of an alternative name until it becomes clear that this ain't never gonna happen *crosses fingers in hope*.

Readme

Keywords

none

Package Sidebar

Install

npm i base-html

Weekly Downloads

3

Version

1.3.3

License

MIT

Last publish

Collaborators

  • jasmith79