6.1.0 • Published 2 years ago

remixml-htmldom v6.1.0

Weekly downloads
37
License
(ISC OR GPL-3.0)
Repository
github
Last release
2 years ago

NPM version Downloads Rate on Openbase

Remixml component that renders directly to the DOM in browsers.

Converts to HTML first, then uses innerHTML to get the browser to convert it. The performance might be slightly higher than with remixml-dom, but it is hampered by the pseudo-smart parsing rules that the browser HTML parser imposes, i.e. some DOM structures cannot be created (e.g. a div nested inside a p tag is not possible).

Requirements

It runs inside any webbrowser environment.

If the browser enforces trusted-types, add the remixml policy; e.g. through an HTTP header like: Content-Security-Policy: trusted-types remixml;

Reference documentation

  • Remixmlhtmldom.abstract2dom(abstract, node?) Converts a DOM abstract into DOM nodes. If the optional node argument is specified, it replaces the children of node with the content described in DOM abstract. Returns node if specified, or the new nodes.

References

Card-carrying member of the zerodeps movement.

6.1.0

2 years ago

6.0.1

2 years ago

6.0.0

2 years ago

4.2.6

3 years ago

4.2.5

3 years ago

4.2.4

3 years ago

4.2.3

3 years ago

4.2.2

3 years ago

4.2.1

3 years ago

4.2.0

3 years ago

4.1.4

3 years ago

4.1.3

3 years ago

4.1.2

3 years ago

4.1.1

3 years ago

4.0.6

3 years ago

4.1.0

3 years ago

4.0.5

3 years ago

4.0.4

3 years ago

4.0.3

3 years ago

4.0.2

3 years ago

4.0.1

3 years ago

4.0.0

3 years ago