Module

x/aleph/vendor/deno-dom/nwsapi-types.ts>DOM

The Full-stack Framework in Deno.
Very Popular
Go to Latest
variable DOM
import { DOM } from "https://dotland.deno.dev/x/aleph@v0.2.19/vendor/deno-dom/nwsapi-types.ts";

type

(doc: Document) => { ancestor(
selector: string,
context: Element | Document,
callback?: (element: Element) => void,
): Element | null; 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[]; byId(id: string, from: Element | Document): Element[]; byTag(tag: string, from: Element | Document): Element[]; byClass(tag: string, from: Element | Document): Element[]; }