dom

A library of functional DOM Functions and Event Streams for HTML and SVG in HTML

UNLICENSE License

Stars
10

dom.js

A library of curried DOM functions for building reactive interfaces in HTML and SVG.

Latest build 1.1.3

Getting started

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

dom(selector)

Returns an array of elements matching selector in document (alias of dom.query(selector, document)).

DOM Nodes

root head body view

The main scrolling 'view' element, either the <head> or the <body> (alias of document.scrollingElement).

DOM lifecycle

*/

DOM traversal

DOM inspection

DOM mutation

DOM Events

Style

Animation

Scrolling

HTML

Feature detection

History