Documentation

MutationEvent extends Event

MutationEvent

Tags
see
https://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/events.html

Table of Contents

Constants

ADDITION  : mixed = 2
AT_TARGET  : mixed = 2
BUBBLING_PHASE  : mixed = 3
CAPTURING_PHASE  : mixed = 1
MODIFICATION  : mixed = 1
REMOVAL  : mixed = 3

Methods

initEvent()  : void
initMutationEvent()  : void
preventDefault()  : void
stopPropagation()  : void

Constants

AT_TARGET

public mixed AT_TARGET = 2

BUBBLING_PHASE

public mixed BUBBLING_PHASE = 3

CAPTURING_PHASE

public mixed CAPTURING_PHASE = 1

Methods

initEvent()

public initEvent(string $eventTypeArg, bool $canBubbleArg, bool $cancelableArg) : void
Parameters
$eventTypeArg : string
$canBubbleArg : bool
$cancelableArg : bool

initMutationEvent()

public initMutationEvent(string $typeArg, bool $canBubbleArg, bool $cancelableArg, DOMNode $relatedNodeArg, string $prevValueArg, string $newValueArg, string $attrNameArg, int $attrChangeArg) : void
Parameters
$typeArg : string
$canBubbleArg : bool
$cancelableArg : bool
$relatedNodeArg : DOMNode
$prevValueArg : string
$newValueArg : string
$attrNameArg : string
$attrChangeArg : int

preventDefault()

public preventDefault() : void

stopPropagation()

public stopPropagation() : void
On this page

Search results