Skip to main content
Deno 2 is finally here 🎉️
Learn more
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://deno.land/x/deno_dom@v0.1.40/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[]; }