Provides the opportunity to handle a just imported node, having its
children processed. The node is not attached to the DOM yet, though.
Implementation Notes:
To replace a node with its children, you may return a DocumentFragment
with the corresponding children here.
Returning skip is semantically similar to returning an empty
DocumentFragment. Exception: skip prevents further processing
completely whereas a DocumentFragment still signals to have been
attached to DOM.
Param: importedNode
imported node, possibly with children
Param: context
current conversion context
Returns
the node to attach to the DOM eventually; or a corresponding
signal what to do instead
Provides the opportunity to handle a just imported node, having its children processed. The node is not attached to the DOM yet, though.
Implementation Notes:
To replace a node with its children, you may return a
DocumentFragmentwith the corresponding children here.Returning
skipis semantically similar to returning an emptyDocumentFragment. Exception:skipprevents further processing completely whereas aDocumentFragmentstill signals to have been attached to DOM.