slDOMSet

ExtensionsPrototype. slDOMSet

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:
Type
ExtensionsPrototype.slDOMSet

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:
Type
ExtensionsPrototype.slDOMSet

attr() → {ExtensionsPrototype.slDOMSet}

Source:
Parameters:
Name Type Description
...attr_value any
Returns:
Type
ExtensionsPrototype.slDOMSet

config(key, value) → {ExtensionsPrototype.slDOMSet}

Source:
Parameters:
Name Type Description
key string
value any
Returns:
Type
ExtensionsPrototype.slDOMSet

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:
Type
ExtensionsPrototype.slDOMSet

env() → {ExtensionsPrototype.slDOM_env}

Source:
Returns:
Type
ExtensionsPrototype.slDOM_env

eq(index) → {ExtensionsPrototype.slDOMSet}

Source:
Parameters:
Name Type Description
index number
Returns:
Type
ExtensionsPrototype.slDOMSet

filter(filterCallback) → {ExtensionsPrototype.slDOMSet}

Source:
Parameters:
Name Type Description
filterCallback ExtensionsPrototype.slDOMSet.itemHandlerFilter
Returns:
Type
ExtensionsPrototype.slDOMSet

find(cssSelector) → {ExtensionsPrototype.slDOMSet}

Source:
Parameters:
Name Type Description
cssSelector string
Returns:
Type
ExtensionsPrototype.slDOMSet

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:
Type
ExtensionsPrototype.slDOMSet

set(v) → {ExtensionsPrototype.slDOMSet}

Source:
Parameters:
Name Type Description
v string

css selector applied over document

Returns:
Type
ExtensionsPrototype.slDOMSet

set(v) → {ExtensionsPrototype.slDOMSet}

Source:
Parameters:
Name Type Description
v NodeList | Array.<any>

array of Nodes or HTMLElements

Returns:
Type
ExtensionsPrototype.slDOMSet

unique() → {ExtensionsPrototype.slDOMSet}

Source:
Returns:
Type
ExtensionsPrototype.slDOMSet

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