Skip to main content
Version: 2.x

StyleTarget.querySelectorAll() method

@microsoft/fast-element > StyleTarget > querySelectorAll

StyleTarget.querySelectorAll() method

Returns all element descendants of node that match selectors.

Signature:

querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;

Parameters

Parameter

Type

Description

selectors

string

The CSS selector to use for the query.

Returns:

NodeListOf<E>