class js.html.Event
Available on js
Sub classes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | AudioProcessingEvent, OfflineAudioCompletionEvent, UpgradeNeededEvent, VersionChangeEvent, DataChannelEvent, IceCandidateEvent, MediaStreamEvent, MediaStreamTrackEvent, ContextEvent, AnimationEvent, BeforeLoadEvent, CloseEvent, CustomEvent, DeviceMotionEvent, DeviceOrientationEvent, ErrorEvent, HashChangeEvent, MediaKeyEvent, MessageEvent, MutationEvent, OverflowEvent, PageTransitionEvent, PopStateEvent, ProgressEvent, SpeechInputEvent, SpeechRecognitionError, SpeechRecognitionEvent, StorageEvent, TrackEvent, TransitionEvent, UIEvent |
|
This chapter describes the DOM Event Model. The Event interface itself is described, as well as the interfaces for event registration on nodes in the DOM, and event listeners, and several longer examples that show how the various event interfaces relate to one another.
There is an excellent diagram that clearly explains the three phases of event flow through the DOM in the DOM Level 3 Events draft.
Documentation for this class was provided by MDN.
Class Fields
Instance Fields
var cancelBubble:Bool
A boolean indicating whether the bubbling of the event has been canceled or not.
var defaultPrevented:Bool
Indicates whether or not event.preventDefault()
has been called on the event.