import { DefaultHandler } from "https://deno.land/x/html_parser@v0.1.3/src/mod.ts";
Constructors
Properties
private
readonly
options: DomHandlerOptionsSettings for the handler.
Reference to the parser instance. Used for location information.
dom: Node[]
The elements of the DOM
root: Document
The root element for the DOM
Methods
protected
handleCallback(error: Error | null): voidoncdataend(): void
oncdatastart(): void
onclosetag(): void
oncomment(data: string): void
oncommentend(): void
onend(): void
onerror(error: Error): void
onopentag(name: string, attribs: { [key: string]: string; }): void
onparserinit(parser: ParserInterface): void
onprocessinginstruction(name: string, data: string): void
onreset(): void
ontext(data: string): void