Module

x/deno_dom/src/dom/selectors/selectors.ts>Selector

Browser DOM & HTML parser in Deno
Very Popular
Go to Latest
type alias Selector
import { type Selector } from "https://dotland.deno.dev/x/deno_dom@v0.1.37/src/dom/selectors/selectors.ts";
definition: (doc: Document) => { first(
selector: string,
context: Element | Document,
callback?: (element: Element) => void,
): Element | null; match(
selector: string,
context: Element | Document,
callback?: (element: Element) => void,
): boolean; select(
selector: string,
context: Element | Document,
callback?: (element: Element) => void,
): Element[]; }