jqLite
Tiny JavaScript DOM query library that uses pure CSS selectors
Installation
npm install jqlite --save
or
bower install kilt-jqlite --save
Main Object
jqlite object ($)
// starting by '<' returns a collection of DOM nodes from this code// result: [<HTMLElement>];// also accepts several objects at root level// result: [<HTMLElement>, <HTMLElement>];// jqlite selectors returns collection by accepting pure css selectors// jQuery uses sizzlejs to parse selectors;;;
Main Methods
Relative Queries
missing docs:
Handling Classes
Moving DOM Elements
missing docs:
Getters / Setters
Miscelanea
Event Methods
-
on()
- Does not support namespaces, selectors or eventData -
off()
- Does not support namespaces or selectors -
one()
- Does not support namespaces or selectors -
trigger()
- Does not support selectors
collection: jqlite object returned by a query and find/filter like functions