Optionalcallback: Callback | null
Called once parsing has completed.
Optionaloptions: DomHandlerOptions | null
Settings for the handler.
OptionalelementCB: ElementCallback
Callback whenever a tag is closed.
The elements of the DOM
ProtectedlastA data node that is still being written to.
The root element for the DOM
ProtectedtagStack of open tags.
ProtectedaddProtectedhandle
Event-based handler that builds a DOM tree from parser callbacks.