W3cubDocs

/Haxe JavaScript

MutationEvent

package js.html

extends Event

@:native("MutationEvent") Available on js

Provides event properties that are specific to modifications to the Document Object Model (DOM) hierarchy and nodes.

Documentation MutationEvent by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

read only attrChange:Int

read only attrName:String

read only newValue:String

read only prevValue:String

read only relatedNode:Node

Methods

initMutationEvent (type:String, canBubble:Bool, cancelable:Bool, relatedNode:Node, prevValue:String, newValue:String, attrName:String, attrChange:Int):Void

Throws:

null DOMError

Static variables

@:value(2) static inline read only ADDITION:Int = 2

@:value(1) static inline read only MODIFICATION:Int = 1

@:value(3) static inline read only REMOVAL:Int = 3

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/MutationEvent.html