new slDOMSet(cssSelectoropt)
- Source:
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
cssSelector |
string |
<optional> |
Methods
add() → {ExtensionsPrototype.slDOMSet}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
...v |
NodeList | any | array of Nodes or HTMLElements |
Returns:
attr() → {NamedNodeMap}
- Source:
Returns:
- Type
- NamedNodeMap
attr(attribute) → {string}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
attribute |
string |
Returns:
- Type
- string
attr(attribute, value) → {ExtensionsPrototype.slDOMSet}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
attribute |
string | |
value |
any |
Returns:
attr() → {ExtensionsPrototype.slDOMSet}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
...attr_value |
any |
Returns:
config(key, value) → {ExtensionsPrototype.slDOMSet}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
key |
string | |
value |
any |
Returns:
config(key) → {any}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
key |
string |
Returns:
- Type
- any
each(filterCallback) → {ExtensionsPrototype.slDOMSet}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
filterCallback |
ExtensionsPrototype.slDOMSet.itemHandler |
Returns:
env() → {ExtensionsPrototype.slDOM_env}
- Source:
Returns:
eq(index) → {ExtensionsPrototype.slDOMSet}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
index |
number |
Returns:
filter(filterCallback) → {ExtensionsPrototype.slDOMSet}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
filterCallback |
ExtensionsPrototype.slDOMSet.itemHandlerFilter |
Returns:
find(cssSelector) → {ExtensionsPrototype.slDOMSet}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
cssSelector |
string |
Returns:
get() → {Array.<Node>}
- Source:
Returns:
- Type
- Array.<Node>
get(index) → {Node}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
index |
number |
Returns:
- Type
- Node
map(filterCallback) → {ExtensionsPrototype.slDOMSet}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
filterCallback |
ExtensionsPrototype.slDOMSet.itemHandlerMap |
Returns:
set(v) → {ExtensionsPrototype.slDOMSet}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
v |
string | css selector applied over document |
Returns:
set(v) → {ExtensionsPrototype.slDOMSet}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
v |
NodeList | Array.<any> | array of Nodes or HTMLElements |
Returns:
unique() → {ExtensionsPrototype.slDOMSet}
- Source:
Returns:
Type Definitions
itemHandler(node, index, context, p)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
node |
Node | |
index |
number | |
context |
ExtensionsPrototype.slDOMSet | |
p |
ExtensionsPrototype.slDOM |
itemHandlerFilter(node, index, context, p) → {boolean}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
node |
Node | |
index |
number | |
context |
ExtensionsPrototype.slDOMSet | |
p |
ExtensionsPrototype.slDOM |
Returns:
- Type
- boolean
itemHandlerMap(node, index, context, p) → {Node}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
node |
Node | |
index |
number | |
context |
ExtensionsPrototype.slDOMSet | |
p |
ExtensionsPrototype.slDOM |
Returns:
- Type
- Node