Dart API Reference
dart:html
Event
Event
class
Annotated by:
DomName('Event')
Implementors
AnimationEvent
AnimationPlayerEvent
ApplicationCacheErrorEvent
AutocompleteErrorEvent
BeforeUnloadEvent
CloseEvent
CustomEvent
DeviceLightEvent
DeviceMotionEvent
DeviceOrientationEvent
ErrorEvent
ExtendableEvent
FetchEvent
FontFaceSetLoadEvent
GamepadEvent
HashChangeEvent
MediaKeyEvent
MediaKeyMessageEvent
MediaKeyNeededEvent
MediaQueryListEvent
MediaStreamEvent
MediaStreamTrackEvent
MessageEvent
MidiConnectionEvent
MidiMessageEvent
OverflowEvent
PageTransitionEvent
PopStateEvent
ProgressEvent
PushEvent
RelatedEvent
RtcDataChannelEvent
RtcDtmfToneChangeEvent
RtcIceCandidateEvent
SecurityPolicyViolationEvent
SpeechRecognitionError
SpeechRecognitionEvent
SpeechSynthesisEvent
StorageEvent
TrackEvent
TransitionEvent
UIEvent
VersionChangeEvent
AudioProcessingEvent
OfflineAudioCompletionEvent
ContextEvent
Constructors
Event
(
String
type
, {
bool
canBubble
:
true
,
bool
cancelable
:
true
} )
Event.eventType
(
String
type
,
String
name
, {
bool
canBubble
:
true
,
bool
cancelable
:
true
} )
Creates a new Event object of the specified type.
Constants
AT_TARGET
=
2
This event is being handled by the event target.
BUBBLING_PHASE
=
3
This event is bubbling up through the target's ancestors.
CAPTURING_PHASE
=
1
This event is propagating through the target's ancestors, starting from the document.
Instance Properties
matchingTarget
Element
read-only
bubbles
bool
read-only
cancelable
bool
read-only
clipboardData
DataTransfer
read-only
currentTarget
EventTarget
read-only
defaultPrevented
bool
read-only
eventPhase
int
read-only
path
List
<
Node
>
read-only
target
EventTarget
read-only
timeStamp
int
read-only
type
String
read-only
Instance Methods
preventDefault
( ) →
void
stopImmediatePropagation
( ) →
void
stopPropagation
( ) →
void