Namespace: $

$

Members

static$.disposeElement

Dispose an element

Methods

static$.byClassName(names, context){ElementsArray}

$.js, line 104
Find elements by class name
Name Type Description
names String
context HTMLElement
Returns:
Type Description
ElementsArray

static$.byId(id){Element}

$.js, line 60
Find an element by id
Name Type Description
id String
Returns:
Type Description
Element

static$.byTagName(names, context){ElementsArray}

$.js, line 117
Find elements by tag name
Name Type Description
names String
context HTMLElement
Returns:
Type Description
ElementsArray

static$.create(){Element}

$.js, line 155
Creates an element and wrap it with {Element}
Returns:
Type Description
Element

static$.createFragment(){Element}

$.js, line 166
Creates an fragment and wrap it with {Element}
Returns:
Type Description
Element

static$.find(selectors, context){ElementsArray}

$.js, line 92
Find all elements corresponding to a selector
Name Type Description
selectors String
context HTMLElement
Returns:
Type Description
ElementsArray

static$.first(selectors, context){Element}

$.js, line 80
Find the first element
Name Type Description
selectors String see document.querySelector
context HTMLElement
Returns:
Type Description
Element

static$.getAll(context, tag)

$.js, line 129
Get all HTML elements by tag name
Name Type Description
context HTMLElement
tag String

static$.isWindow(){Boolean}

$.js, line 146
Returns:
Type Description
Boolean

static$.parse(){Text}

$.js, line 183
Parse an html string into an element
Returns:
Type Description
Text

static$.textNode(){Text}

$.js, line 174
Creates an simple text node
Returns:
Type Description
Text