A library of functional DOM Functions and Event Streams for HTML and SVG in HTML
UNLICENSE License
A library of curried DOM functions for building reactive interfaces in HTML and SVG.
Clone the repo:
git clone [email protected]/stephband/dom.git
cd dom/
git submodule update --init
Install node modules:
npm install
Build dist/dom.js:
npm run build-nodeps // Omit dependencies
npm run build // Include dependencies
dom(selector)
Returns an array of elements matching selector
in document
(alias of
dom.query(selector, document)
).
root head body view
The main scrolling 'view' element, either the <head>
or the <body>
(alias of document.scrollingElement
).
*/