dart:html
Event class
- Implementers
- Annotations
- @Native("Event,InputEvent")
Constructors
- Event(String type, { bool canBubble: true, bool cancelable: true })
factory
- Event.eventType(String type, String name, { bool canBubble: true, bool cancelable: true })
factory
- Creates a new Event object of the specified type. [...]
Properties
- bubbles → bool
final
- cancelable → bool
final
- composed → bool
final
- currentTarget → EventTarget
read-only
- defaultPrevented → bool
final
- eventPhase → int
final
- isTrusted → bool
final
- matchingTarget → Element
read-only
- A pointer to the element whose CSS selector matched within which an event was fired. If this Event was not associated with any Event delegation, accessing this value will throw an UnsupportedError.
- path → List<EventTarget>
read-only
- target → EventTarget
read-only
- timeStamp → num
final
- type → String
final
- hashCode → int
read-only, inherited
- The hash code for this object. [...]
- runtimeType → Type
read-only, inherited
- A representation of the runtime type of the object.
Methods
- composedPath() → List<EventTarget>
- preventDefault() → void
- stopImmediatePropagation() → void
- stopPropagation() → void
- noSuchMethod(Invocation invocation) → dynamic
inherited
- Invoked when a non-existent method or property is accessed. [...]
- toString() → String
inherited
- Returns a string representation of this object.
Operators
- operator ==(dynamic other) → bool
inherited
- The equality operator. [...]
Constants
- AT_TARGET → const int
- This event is being handled by the event target. [...]
2
- BUBBLING_PHASE → const int
- This event is bubbling up through the target's ancestors. [...]
3
- CAPTURING_PHASE → const int
- This event is propagating through the target's ancestors, starting from the document. [...]
1