Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

selectorAll

Given the specified selector, returns a function which returns all descendants of "this" element that match the specified selector.

The generic refers to the type of the returned descendant element.

function selectorAll<DescElement extends Element>(selector: string): (this: BaseType) => NodeListOf<DescElement>;
§
selectorAll<DescElement extends Element>(selector: string): (this: BaseType) => NodeListOf<DescElement>
[src]

§Type Parameters

§
DescElement extends Element
[src]

§Parameters

§
selector: string
[src]

A CSS selector string.

§Return Type

§
(this: BaseType) => NodeListOf<DescElement>
[src]