DomVisitorCallbacks
reexport
Defined in
@native-html/transient-render-engine
A record of callback to visit the DOM.
#
MethodsonDocument
#
optional
A callback invoked when encountering a ​Document
.
#
Parametersdocument
The document to visit.
onElement
#
optional
A callback invoked when encountering an ​Element
.
#
Parameterselement
The element to visit.
onText
#
optional
A callback invoked when encountering a ​Text
node.
#
Parameterstext
The text to visit.