-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Eugene Lazutkin edited this page Jul 12, 2016
·
7 revisions
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
.
Read How to include to learn how to use the library.