A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/dom/MutationEvent/initMutationEvent below:

initMutationEvent ยท WebPlatform Docs

initMutationEvent Summary

Initializes a new DOM mutation (modification) event that the createEvent method created.

Method of dom/MutationEventdom/MutationEvent

Syntax
 event.initMutationEvent();
Parameters eventType
Data-type
String

The name of the event. Sets the value for the type property.

canBubble
Data-type
Boolean

Whether the event propagates upward. Sets the value for the bubbles property.

cancelable
Data-type
Boolean

Whether the event is cancelable and so preventDefault can be called. Sets the value for the cancelable property.

relatedNode
Data-type
DOM Node

A secondary node that is related to the event. Sets the value for the relatedNode property.

prevValue
Data-type
String

The previous value of the attribute or text node. Sets the value for the prevValue property.

newValue
Data-type
String

The new value of the attribute or text node. Sets the value for the newValue property.

attrName
Data-type
String

The name of the changed attribute in a DOMAttrModified event. Sets the value for the attrName property.

attrChange
Data-type
String

The type of modification in a DOMAttrModified event. Sets the value for the attrChange property.

Return Value

No return value

Related specifications
DOM Level 2 Events
Recommendation
See also Related articles Deprecated Attributions

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