Skip to main content
Module

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

The Full-stack Framework in Deno.
Go to Latest
File
import type { Document } from "./document.ts";import type { Element } from "./element.ts";import NWDom from "./nwsapi.js";
export const DOM: (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[],} = <any>NWDom;