remixml-dom
v6.1.1
Published
Remixml component that renders to DOM in browsers
Downloads
22
Maintainers
Readme
Remixml component that renders directly to the DOM in browsers.
Uses the regular Javascript DOM-API and therefore is not limited by the pseudo-smart parsing rules that the browser HTML parser imposes, i.e. it allows the creation of arbitrary DOM structures.
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
Remixmldom.abstract2dom(abstract, node?)
Converts a DOMabstract
into DOM nodes. If the optionalnode
argument is specified, it replaces the children ofnode
with the content described in DOMabstract
. Returnsnode
if 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.