remixml-htmldom v6.1.0
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 DOMabstractinto DOM nodes. If the optionalnodeargument is specified, it replaces the children ofnodewith the content described in DOMabstract. Returnsnodeif specified, or the new nodes.
References
- Postprocessor for the high performance Javascript templating engine Remixml.
- Compatible with the fastest lockandload AMD-loader.
Card-carrying member of the zerodeps movement.
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago