UserDataOperation

An integer indicating the type of operation being performed on a node.

Values

ValueMeaning
nodeCloned1

The node is cloned, using Node.cloneNode().

nodeImported

The node is imported, using Document.importNode().

nodeDeleted

The node is deleted.

Note: This may not be supported or may not be reliable in certain environments, where the implementation has no real control over when objects are actually deleted.

nodeRenamed

The node is renamed, using Document.renameNode().

nodeAdopted

The node is adopted, using Document.adoptNode().

Meta