Skip to content
/ dom Public
forked from stephband/dom

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

License

Notifications You must be signed in to change notification settings

cruncher/dom

 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 82.0%
  • HTML 17.1%
  • CSS 0.9%