Skip to content

Latest commit

 

History

History
140 lines (53 loc) · 1.7 KB

README.md

File metadata and controls

140 lines (53 loc) · 1.7 KB

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