Skip to content

@ralphschuler.webgl shader factory.<internal>.MutationEvent

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: MutationEvent

@ralphschuler/webgl-shader-factory.<internal>.MutationEvent

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

Deprecated

DOM4 [DOM] provides a new mechanism using a MutationObserver interface which addresses the use cases that mutation events solve, but in a more performant manner. Thus, this specification describes mutation events for reference and completeness of legacy behavior, but deprecates the use of the MutationEvent interface.

MDN Reference

Hierarchy

  • Event

    MutationEvent

Table of contents

Properties

Methods

Properties

ADDITION

Readonly ADDITION: 2

Defined in

node_modules/typescript/lib/lib.dom.d.ts:15685


AT_TARGET

Readonly AT_TARGET: 2

Inherited from

Event.AT_TARGET

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8100


BUBBLING_PHASE

Readonly BUBBLING_PHASE: 3

Inherited from

Event.BUBBLING_PHASE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8101


CAPTURING_PHASE

Readonly CAPTURING_PHASE: 1

Inherited from

Event.CAPTURING_PHASE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8099


MODIFICATION

Readonly MODIFICATION: 1

Defined in

node_modules/typescript/lib/lib.dom.d.ts:15684


NONE

Readonly NONE: 0

Inherited from

Event.NONE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8098


REMOVAL

Readonly REMOVAL: 3

Defined in

node_modules/typescript/lib/lib.dom.d.ts:15686


attrChange

Readonly attrChange: number

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:15653


attrName

Readonly attrName: string

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:15659


bubbles

Readonly bubbles: boolean

Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise.

MDN Reference

Inherited from

Event.bubbles

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7995


cancelBubble

cancelBubble: boolean

Deprecated

MDN Reference

Inherited from

Event.cancelBubble

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8001


cancelable

Readonly cancelable: boolean

Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.

MDN Reference

Inherited from

Event.cancelable

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8007


composed

Readonly composed: boolean

Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.

MDN Reference

Inherited from

Event.composed

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8013


currentTarget

Readonly currentTarget: null | EventTarget

Returns the object whose event listener's callback is currently being invoked.

MDN Reference

Inherited from

Event.currentTarget

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8019


defaultPrevented

Readonly defaultPrevented: boolean

Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.

MDN Reference

Inherited from

Event.defaultPrevented

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8025


eventPhase

Readonly eventPhase: number

Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.

MDN Reference

Inherited from

Event.eventPhase

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8031


isTrusted

Readonly isTrusted: boolean

Returns true if event was dispatched by the user agent, and false otherwise.

MDN Reference

Inherited from

Event.isTrusted

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8037


newValue

Readonly newValue: string

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:15665


prevValue

Readonly prevValue: string

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:15671


relatedNode

Readonly relatedNode: null | Node

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:15677


returnValue

returnValue: boolean

Deprecated

MDN Reference

Inherited from

Event.returnValue

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8043


srcElement

Readonly srcElement: null | EventTarget

Deprecated

MDN Reference

Inherited from

Event.srcElement

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8049


target

Readonly target: null | EventTarget

Returns the object to which event is dispatched (its target).

MDN Reference

Inherited from

Event.target

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8055


timeStamp

Readonly timeStamp: number

Returns the event's timestamp as the number of milliseconds measured relative to the time origin.

MDN Reference

Inherited from

Event.timeStamp

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8061


type

Readonly type: string

Returns the type of event, e.g. "click", "hashchange", or "submit".

MDN Reference

Inherited from

Event.type

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8067

Methods

composedPath

composedPath(): EventTarget[]

Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget.

MDN Reference

Returns

EventTarget[]

Inherited from

Event.composedPath

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8073


initEvent

initEvent(type, bubbles?, cancelable?): void

Parameters

Name Type
type string
bubbles? boolean
cancelable? boolean

Returns

void

Deprecated

MDN Reference

Inherited from

Event.initEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8079


initMutationEvent

initMutationEvent(typeArg, bubblesArg?, cancelableArg?, relatedNodeArg?, prevValueArg?, newValueArg?, attrNameArg?, attrChangeArg?): void

Parameters

Name Type
typeArg string
bubblesArg? boolean
cancelableArg? boolean
relatedNodeArg? null | Node
prevValueArg? string
newValueArg? string
attrNameArg? string
attrChangeArg? number

Returns

void

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:15683


preventDefault

preventDefault(): void

If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.

MDN Reference

Returns

void

Inherited from

Event.preventDefault

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8085


stopImmediatePropagation

stopImmediatePropagation(): void

Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.

MDN Reference

Returns

void

Inherited from

Event.stopImmediatePropagation

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8091


stopPropagation

stopPropagation(): void

When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.

MDN Reference

Returns

void

Inherited from

Event.stopPropagation

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8097

Typescript Libraries

Modules

Namespaces

Clone this wiki locally