Skip to content

$q

$q<T>(selector): T

Defined in: core/dom/query.ts:10

Returns the first element matching a selector.

T extends Element = HTMLElement

string

CSS selector.

T

If nothing matches.