Get the Newsletter

querySelector

A Method

querySelector(selectors: string): Element

Performs a query selector on the document and returns first matched element, depth first.

Parameters

selectors: string

Returns

A list of all matched elements in the document.