1.12.2.1
Prysm
Event Interface Reference
+ Inheritance diagram for Event:

Public Member Functions

Event Event (DOMInternedString type, optional EventInit initEvent)
 
void stopPropagation ()
 
void preventDefault ()
 
void initEvent ([Default=Undefined] optional DOMInternedString eventTypeArg, [Default=Undefined] optional boolean canBubbleArg, [Default=Undefined] optional boolean cancelableArg)
 
void stopImmediatePropagation ()
 

Public Attributes

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 defaultPrevented
 

Constructor & Destructor Documentation

◆ Event()

Event Event::Event ( DOMInternedString  type,
optional EventInit  initEvent 
)

Member Function Documentation

◆ initEvent()

void Event::initEvent ( [Default=Undefined] optional DOMInternedString  eventTypeArg,
[Default=Undefined] optional boolean  canBubbleArg,
[Default=Undefined] optional boolean  cancelableArg 
)

◆ preventDefault()

void Event::preventDefault ( )

◆ stopImmediatePropagation()

void Event::stopImmediatePropagation ( )

◆ stopPropagation()

void Event::stopPropagation ( )

Member Data Documentation

◆ AT_TARGET

const unsigned short Event::AT_TARGET = 2

◆ bubbles

readonly attribute boolean Event::bubbles

◆ BUBBLING_PHASE

const unsigned short Event::BUBBLING_PHASE = 3

◆ cancelable

readonly attribute boolean Event::cancelable

◆ CAPTURING_PHASE

const unsigned short Event::CAPTURING_PHASE = 1

◆ currentTarget

readonly attribute EventTarget Event::currentTarget

◆ defaultPrevented

readonly attribute boolean Event::defaultPrevented

◆ eventPhase

readonly attribute unsigned short Event::eventPhase

◆ NONE

const unsigned short Event::NONE = 0

◆ target

readonly attribute EventTarget Event::target

◆ type

readonly attribute DOMString Event::type