-
static$.byClassName(names, context){ElementsArray}
$.js, line 104
-
Find elements by class name
Name |
Type |
Description |
names |
String
|
|
context |
HTMLElement
|
|
Returns:
-
static$.byId(id){Element}
$.js, line 60
-
Find an element by id
Name |
Type |
Description |
id |
String
|
|
Returns:
-
-
Find elements by tag name
Name |
Type |
Description |
names |
String
|
|
context |
HTMLElement
|
|
Returns:
-
static$.create(){Element}
$.js, line 155
-
Creates an element and wrap it with {Element}
Returns:
-
static$.createFragment(){Element}
$.js, line 166
-
Creates an fragment and wrap it with {Element}
Returns:
-
-
Find all elements corresponding to a selector
Name |
Type |
Description |
selectors |
String
|
|
context |
HTMLElement
|
|
Returns:
-
static$.first(selectors, context){Element}
$.js, line 80
-
Find the first element
Name |
Type |
Description |
selectors |
String
|
see document.querySelector |
context |
HTMLElement
|
|
Returns:
-
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:
-
static$.parse(){Text}
$.js, line 183
-
Parse an html string into an element
Returns:
-
static$.textNode(){Text}
$.js, line 174
-
Creates an simple text node
Returns: