Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:html
  3. Event class
Event
description

Event class

Implementers
Annotations
  • @Native.new("Event,InputEvent,SubmitEvent")

Constructors

Event(Stringtype, {boolcanBubble =true,boolcancelable =true})
factory
Event.eventType(Stringtype,Stringname, {boolcanBubble =true,boolcancelable =true})
Creates a new Event object of the specified type.
factory

Properties

bubblesbool?
no setter
cancelablebool?
no setter
composedbool?
no setter
currentTargetEventTarget?
no setter
defaultPreventedbool
no setter
eventPhaseint
no setter
hashCodeint
The hash code for this object.
no setterinherited
isTrustedbool?
no setter
matchingTargetElement
A pointer to the element whose CSS selector matched within which an eventwas fired. If this Event was not associated with any Event delegation,accessing this value will throw anUnsupportedError.
no setter
pathList<EventTarget>
no setter
runtimeTypeType
A representation of the runtime type of the object.
no setterinherited
targetEventTarget?
no setter
timeStampnum?
no setter
typeString
no setter

Methods

composedPath()List<EventTarget>
noSuchMethod(Invocationinvocation)→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
preventDefault()→ void
stopImmediatePropagation()→ void
stopPropagation()→ void
toString()String
A string representation of this object.
inherited

Operators

operator ==(Objectother)bool
The equality operator.
inherited

Constants

AT_TARGET→ constint
This event is being handled by the event target.
BUBBLING_PHASE→ constint
This event is bubbling up through the target's ancestors.
CAPTURING_PHASE→ constint
This event is propagating through the target's ancestors, starting from thedocument.
  1. Dart
  2. dart:html
  3. Event class
dart:html library

[8]ページ先頭

©2009-2025 Movatter.jp