Function querySelectorAll
-
querySelectorAll<K
extends keyof
HTMLElementTagNameMap>( selectors:
K, parentNode?: ParentNode,): NodeListOf<HTMLElementTagNameMap[K]>
Type Parameters
-
K extends keyof
HTMLElementTagNameMap
Parameters
-
selectors:
K
-
Optional
parentNode:
ParentNode
Returns NodeListOf<HTMLElementTagNameMap[K]>
-
querySelectorAll<K
extends keyof
SVGElementTagNameMap>( selectors:
K, parentNode?: ParentNode,): NodeListOf<SVGElementTagNameMap[K]>
Type Parameters
-
K extends keyof
SVGElementTagNameMap
Parameters
-
selectors:
K
-
Optional
parentNode:
ParentNode
Returns NodeListOf<SVGElementTagNameMap[K]>
-
querySelectorAll<E
extends Element
= Element>( selectors:
string, parentNode?: ParentNode,): NodeListOf<E>
Type Parameters
-
E extends Element =
Element
Parameters
-
selectors:
string
-
Optional
parentNode:
ParentNode
Returns NodeListOf<E>
Returns all element descendants of node that match selectors.