@microsoft/fast-element > elements
elements() function
Creates a function that can be used to filter a Node array, selecting only elements.
Signature:export declare function elements(selector?: string): ElementsFilter;
Parameters
Parameter | Type | Description |
---|---|---|
selector | string | An optional selector to restrict the filter to. |