CustomEvent

Module: JavaScript DOM API

#include <CustomEvent.idl>

Inherits from Event

Public Functions

Name
CustomEventCustomEvent(DOMInternedString type, optional CustomEventInit eventInitDict)
voidinitCustomEvent(DOMInternedString type, optional boolean bubbles, optional boolean cancelable, optional AnyValue detail)

Public Attributes

Name
readonly attribute AnyValuedetail

Additional inherited members

Public Functions inherited from Event

Name
EventEvent(DOMInternedString type, optional EventInit initEvent)
voidstopPropagation()
voidpreventDefault()
voidinitEvent(optional DOMInternedString eventTypeArg, optional boolean canBubbleArg, optional boolean cancelableArg)
voidstopImmediatePropagation()

Public Attributes inherited from Event

Name
const unsigned shortNONE
const unsigned shortCAPTURING_PHASE
const unsigned shortAT_TARGET
const unsigned shortBUBBLING_PHASE
readonly attribute DOMStringtype
readonly attribute EventTargettarget
readonly attribute EventTargetcurrentTarget
readonly attribute unsigned shorteventPhase
readonly attribute booleanbubbles
readonly attribute booleancancelable
readonly attribute booleandefaultPrevented

Public Functions Documentation

function CustomEvent

CustomEvent CustomEvent(
    DOMInternedString type,
    optional CustomEventInit eventInitDict
)

function initCustomEvent

void initCustomEvent(
    DOMInternedString type,
    optional boolean bubbles,
    optional boolean cancelable,
    optional AnyValue detail
)

Public Attributes Documentation

variable detail

readonly attribute AnyValue detail;