---
id: fast-element.styletarget.queryselectorall
title: StyleTarget.querySelectorAll() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-element](./fast-element.md) &gt; [StyleTarget](./fast-element.styletarget.md) &gt; [querySelectorAll](./fast-element.styletarget.queryselectorall.md)

## StyleTarget.querySelectorAll() method

Returns all element descendants of node that match selectors.

<b>Signature:</b>

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

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  selectors | string | The CSS selector to use for the query. |

<b>Returns:</b>

NodeListOf&lt;E&gt;
