Prior to importing the original node, you may want to modify it. Note
that allowed modification is limited, though. Expected use-cases are:
Modify attributes prior to import.
Modify children prior to import.
This function is especially useful for data view to data transformation,
where the data view provides richer HTML API, such as HTMLElement
providing access to dataset.
This function must not detach the original node from DOM or relocate it.
Prior to importing the original node, you may want to modify it. Note that allowed modification is limited, though. Expected use-cases are:
This function is especially useful for data view to data transformation, where the data view provides richer HTML API, such as
HTMLElementproviding access todataset.This function must not detach the original node from DOM or relocate it.