Methods
-
toString() → {string}
-
Description
Returns the raw selector, this is how native function get the value.
Returns
Details
-
valueOf() → {string}
-
Description
Returns the raw selector, this is how native function get the value.
Returns
Details
-
child( other ) → {DOMTools.Selector}
-
Description
Adds another selector as a direct child
>
to this one.Parameters
Name Type Description other
string | DOMTools.Selector Selector to add as child
Returns
Details
-
adjacent( other ) → {DOMTools.Selector}
-
Description
Adds another selector as a adjacent sibling
+
to this one.Parameters
Name Type Description other
string | DOMTools.Selector Selector to add as adjacent sibling
Returns
Details
-
sibling( other ) → {DOMTools.Selector}
-
Description
Adds another selector as a general sibling
~
to this one.Parameters
Name Type Description other
string | DOMTools.Selector Selector to add as sibling
Returns
Details
-
descend( other ) → {DOMTools.Selector}
-
Description
Adds another selector as a descendent
(space)
to this one.Parameters
Name Type Description other
string | DOMTools.Selector Selector to add as descendent
Returns
Details
-
and( other ) → {DOMTools.Selector}
-
Description
Adds another selector to this one via
,
.Parameters
Name Type Description other
string | DOMTools.Selector Selector to add
Returns
Details