The callback function for the setUserData method.
Last changed in Gecko 1.9 (Firefox 3)
void handle(in unsigned short operation, in DOMString key, in nsIVariant data, in nsIDOMNode src, in nsIDOMNode dst);
|The node was cloned. |
|The node was cloned into a new document. |
| The node was adopted into a new document. |
This method is a callback which will be called if a node with user data is being cloned, imported or adopted.
in unsigned short operation,
in DOMString key,
in nsIVariant data,
in nsIDOMNode src,
in nsIDOMNode dst
- One of the
NODE_* operation type constants from the above table.
- The key that was used to set the user data.
- The data that was set on the original node.
- The original node.
- The new node, for clone and import operations.