webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
MutationEvent Interface Reference

import"MutationEvent.idl";

Inheritance diagram for MutationEvent:
Event

Public Member Functions

void initMutationEvent (optional DOMString type="undefined", optional boolean canBubble=false, optional boolean cancelable=false, optional Node? relatedNode=null, optional DOMString prevValue="undefined", optional DOMString newValue="undefined", optional DOMString attrName="undefined", optional unsigned short attrChange=0)
 
- Public Member Functions inherited from Event
sequence< NodecomposedPath ()
 
void stopPropagation ()
 
void preventDefault ()
 
void initEvent (DOMString type, optional boolean bubbles=false, optional boolean cancelable=false)
 
void stopImmediatePropagation ()
 

Public Attributes

const unsigned short MODIFICATION = 1
 
const unsigned short ADDITION = 2
 
const unsigned short REMOVAL = 3
 
readonly attribute Node relatedNode
 
readonly attribute DOMString prevValue
 
readonly attribute DOMString newValue
 
readonly attribute DOMString attrName
 
readonly attribute unsigned short attrChange
 
- Public Attributes inherited from Event
EventType Type
 
union {
   MoveEvent   Move
 
   SizeEvent   Size
 
   KeyEvent   Key
 
   MouseMoveEvent   MouseMove
 
   MouseButtonEvent   MouseButton
 
   MouseWheelEvent   MouseWheel
 
}; 
 
const unsigned short NONE = 0
 
const unsigned short CAPTURING_PHASE = 1
 
const unsigned short AT_TARGET = 2
 
const unsigned short BUBBLING_PHASE = 3
 
readonly attribute DOMString type
 
readonly attribute EventTarget target
 
readonly attribute EventTarget currentTarget
 
readonly attribute unsigned short eventPhase
 
readonly attribute boolean bubbles
 
readonly attribute boolean cancelable
 
readonly attribute boolean composed
 
readonly attribute DOMTimeStamp timeStamp
 
readonly attribute boolean defaultPrevented
 
readonly attribute boolean isTrusted
 
readonly attribute EventTarget srcElement
 
attribute boolean returnValue
 
attribute boolean cancelBubble
 

Additional Inherited Members

- Public Types inherited from Event
enum  EventType {
  EVENT_CLOSED, EVENT_MOVED, EVENT_RESIZED, EVENT_LOST_FOCUS,
  EVENT_GAINED_FOCUS, EVENT_TEXT_ENTERED, EVENT_KEY_PRESSED, EVENT_KEY_RELEASED,
  EVENT_MOUSE_WHEEL_MOVED, EVENT_MOUSE_BUTTON_PRESSED, EVENT_MOUSE_BUTTON_RELEASED, EVENT_MOUSE_MOVED,
  EVENT_MOUSE_ENTERED, EVENT_MOUSE_LEFT, EVENT_TEST
}
 

Member Function Documentation

◆ initMutationEvent()

void MutationEvent::initMutationEvent ( optional DOMString  type = "undefined",
optional boolean  canBubble = false,
optional boolean  cancelable = false,
optional Node relatedNode = null,
optional DOMString  prevValue = "undefined",
optional DOMString  newValue = "undefined",
optional DOMString  attrName = "undefined",
optional unsigned short  attrChange = 0 
)

Member Data Documentation

◆ ADDITION

const unsigned short MutationEvent::ADDITION = 2

◆ attrChange

readonly attribute unsigned short MutationEvent::attrChange

◆ attrName

readonly attribute DOMString MutationEvent::attrName

◆ MODIFICATION

const unsigned short MutationEvent::MODIFICATION = 1

◆ newValue

readonly attribute DOMString MutationEvent::newValue

◆ prevValue

readonly attribute DOMString MutationEvent::prevValue

◆ relatedNode

readonly attribute Node MutationEvent::relatedNode

◆ REMOVAL

const unsigned short MutationEvent::REMOVAL = 3

The documentation for this interface was generated from the following file: