You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
heya-dom is used on browser to simplify DOM-related tasks, especially construction, and modification of DOM.
Following modules are provided:
create — largely based on the venerable Dojo. Includes creating DOM nodes with optional namespaces, setting attributes, properties, styles, and similar helpers.
build — a Virtual DOM-inspired utility to create DOM fragments in one go using a simple array-based structure.
hyperscript — an alternative for build, a minimalistic implementation of Dominic Tarr's hyperscript. It is there mostly to reuse existing tooling, and existing code created for other implementations.
fromHtml — a helper to instantiate HTML snippets as DocumentFragment.