class default
implements Handler
import { default } from "https://deno.land/x/html_parser@v0.1.3/src/MultiplexHandler.ts";
Calls a specific handler function for all events that are encountered.
Constructors
new
default(func: (event: keyof Handler, ...args: unknown[]) => void)Methods
onattribute(): void
name: string,
value: string,
quote: string | null | undefined,
oncdataend(): void
oncdatastart(): void
onclosetag(name: string): void
oncomment(comment: string): void
oncommentend(): void
onend(): void
onerror(error: Error): void
onopentag(name: string, attribs: { [key: string]: string; }): void
onopentagname(name: string): void
onparserinit(parser: Parser): void
onprocessinginstruction(name: string, value: string): void
onreset(): void
ontext(text: string): void