nsgenbind
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Public Attributes | List of all members
Event Interface Reference

import"dom.idl";

Inheritance diagram for Event:
AutocompleteErrorEvent BeforeUnloadEvent CloseEvent CustomEvent ErrorEvent HashChangeEvent MessageEvent MutationEvent PageTransitionEvent PopStateEvent RelatedEvent StorageEvent TrackEvent UIEvent

Public Member Functions

void stopPropagation ()
 
void stopImmediatePropagation ()
 
void preventDefault ()
 
void initEvent (DOMString type, boolean bubbles, boolean cancelable)
 

Public Attributes

readonly attribute DOMString type
 
readonly attribute EventTarget target
 
readonly attribute EventTarget currentTarget
 
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 unsigned short eventPhase
 
readonly attribute boolean bubbles
 
readonly attribute boolean cancelable
 
readonly attribute boolean defaultPrevented
 
readonly attribute boolean isTrusted
 
readonly attribute DOMTimeStamp timeStamp
 

Detailed Description

Definition at line 8 of file dom.idl.

Member Function Documentation

◆ initEvent()

void Event::initEvent ( DOMString  type,
boolean  bubbles,
boolean  cancelable 
)

◆ preventDefault()

void Event::preventDefault ( )

◆ stopImmediatePropagation()

void Event::stopImmediatePropagation ( )

◆ stopPropagation()

void Event::stopPropagation ( )

Member Data Documentation

◆ AT_TARGET

const unsigned short Event::AT_TARGET = 2

Definition at line 15 of file dom.idl.

◆ bubbles

readonly attribute boolean Event::bubbles

Definition at line 22 of file dom.idl.

◆ BUBBLING_PHASE

const unsigned short Event::BUBBLING_PHASE = 3

Definition at line 16 of file dom.idl.

◆ cancelable

readonly attribute boolean Event::cancelable

Definition at line 23 of file dom.idl.

◆ CAPTURING_PHASE

const unsigned short Event::CAPTURING_PHASE = 1

Definition at line 14 of file dom.idl.

◆ currentTarget

readonly attribute EventTarget Event::currentTarget

Definition at line 11 of file dom.idl.

◆ defaultPrevented

readonly attribute boolean Event::defaultPrevented

Definition at line 25 of file dom.idl.

◆ eventPhase

readonly attribute unsigned short Event::eventPhase

Definition at line 17 of file dom.idl.

◆ isTrusted

readonly attribute boolean Event::isTrusted

Definition at line 27 of file dom.idl.

◆ NONE

const unsigned short Event::NONE = 0

Definition at line 13 of file dom.idl.

◆ target

readonly attribute EventTarget Event::target

Definition at line 10 of file dom.idl.

◆ timeStamp

readonly attribute DOMTimeStamp Event::timeStamp

Definition at line 28 of file dom.idl.

◆ type

readonly attribute DOMString Event::type

Definition at line 9 of file dom.idl.


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