foundation-utils.getallelements
Home > @genesislcap/foundation-utils > getAllElements
getAllElements() function
Recursively gather all elements including those in shadow DOM
Signature:
export declare function getAllElements(root: Element | Document): Element[];
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
root |
Element | Document |
Returns:
Element[]