Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

The Full-stack Framework in Deno.
Go to Latest
variable DOM
import { DOM } from "https://deno.land/x/aleph@v0.2.16/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[]; }