W3cubDocs

/Haxe JavaScript

MutationEvent

package js.html

extends Event

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 also:

Static variables

staticinlineread onlyADDITION:Int = 2

staticinlineread onlyMODIFICATION:Int = 1

staticinlineread onlyREMOVAL:Int = 3

Variables

read onlyattrChange:Int

read onlyattrName:String

read onlynewValue:String

read onlyprevValue:String

read onlyrelatedNode:Node

Methods

initMutationEvent(type:String, canBubble:Bool = false, cancelable:Bool = false, ?relatedNode:Node, prevValue:String = "", newValue:String = "", attrName:String = "", attrChange:Int = 0):Void

Throws:

null

DOMError

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