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

import"MessageEvent.idl";

Inheritance diagram for MessageEvent:
Event

Public Member Functions

void initMessageEvent (optional DOMString typeArg, optional boolean canBubbleArg, optional boolean cancelableArg, optional any dataArg, optional USVString originArg, optional DOMString lastEventIdArg, optional(DOMWindow or MessagePort)? sourceArg, optional sequence< MessagePort > messagePorts)
 
void webkitInitMessageEvent (optional DOMString typeArg, optional boolean canBubbleArg, optional boolean cancelableArg, optional any dataArg, optional USVString originArg, optional DOMString lastEventIdArg, optional(DOMWindow or MessagePort)? sourceArg, optional sequence< MessagePort > messagePorts)
 
- 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

readonly attribute USVString origin
 
readonly attribute DOMString lastEventId
 
readonly attribute EventTarget source
 
readonly attribute any data
 
readonly attribute FrozenArray< MessagePortports
 
- 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

◆ initMessageEvent()

void MessageEvent::initMessageEvent ( optional DOMString  typeArg,
optional boolean  canBubbleArg,
optional boolean  cancelableArg,
optional any  dataArg,
optional USVString  originArg,
optional DOMString  lastEventIdArg,
optional(DOMWindow or MessagePort)?  sourceArg,
optional sequence< MessagePort messagePorts 
)

◆ webkitInitMessageEvent()

void MessageEvent::webkitInitMessageEvent ( optional DOMString  typeArg,
optional boolean  canBubbleArg,
optional boolean  cancelableArg,
optional any  dataArg,
optional USVString  originArg,
optional DOMString  lastEventIdArg,
optional(DOMWindow or MessagePort)?  sourceArg,
optional sequence< MessagePort messagePorts 
)

Member Data Documentation

◆ data

readonly attribute any MessageEvent::data

◆ lastEventId

readonly attribute DOMString MessageEvent::lastEventId

◆ origin

readonly attribute USVString MessageEvent::origin

◆ ports

readonly attribute FrozenArray<MessagePort> MessageEvent::ports

◆ source

readonly attribute EventTarget MessageEvent::source

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