Constructors
constructor
- new DomHandler(callback?, options?, elementCB?): DomHandler
Properties
Methods
Protected
addNode
- addNode(node): void
Returns void
Protected
handleCallback
- handleCallback(error): void
Returns void
oncdataend
- oncdataend(): void
Returns void
oncdatastart
- oncdatastart(): void
Returns void
onclosetag
- onclosetag(): void
Returns void
oncomment
- oncomment(data): void
Returns void
oncommentend
- oncommentend(): void
Returns void
onend
- onend(): void
Returns void
onerror
- onerror(error): void
Returns void
onopentag
- onopentag(name, attribs): void
Parameters
- name: string
- attribs: {
[key: string]: string;
}
Returns void
onparserinit
- onparserinit(parser): void
Returns void
onprocessinginstruction
- onprocessinginstruction(name, data): void
Returns void
onreset
- onreset(): void
Returns void
ontext
- ontext(data): void
Returns void
Called once parsing has completed.