Initializes a new DOM mutation (modification) event that the createEvent method created.
Method of dom/MutationEventdom/MutationEvent
Syntax event.initMutationEvent();
Parameters eventType
The name of the event. Sets the value for the type property.
canBubbleWhether the event propagates upward. Sets the value for the bubbles property.
cancelableWhether the event is cancelable and so preventDefault can be called. Sets the value for the cancelable property.
relatedNodeA secondary node that is related to the event. Sets the value for the relatedNode property.
prevValueThe previous value of the attribute or text node. Sets the value for the prevValue property.
newValueThe new value of the attribute or text node. Sets the value for the newValue property.
attrNameThe name of the changed attribute in a DOMAttrModified event. Sets the value for the attrName property.
attrChangeThe type of modification in a DOMAttrModified event. Sets the value for the attrChange property.
Return ValueNo return value
Related specificationsinitMutationEvent
Mozilla Developer Network : [Mutation Events Article]
Microsoft Developer Network: [Windows Internet Explorer API reference Article]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4