FetchEvent class
- Inheritance
- Object
- JSObject
- DartHtmlDomObject
- Event
- ExtendableEvent
- FetchEvent
- Annotations
- @DocsEditable()
- @DomName('FetchEvent')
- @Experimental()
Static Properties
- instanceRuntimeType → Type @Deprecated("Internal Use Only"), read-only
Constructors
- FetchEvent(String type, Map eventInitDict) factory
- FetchEvent.internal_()
Properties
- clientId → String @DocsEditable(), @DomName('FetchEvent.clientId'), @Experimental(), read-only
- isReload → bool @DocsEditable(), @DomName('FetchEvent.isReload'), @Experimental(), read-only
- request → _Request @DocsEditable(), @DomName('FetchEvent.request'), @Experimental(), read-only
- bubbles → bool @DocsEditable(), @DomName('Event.bubbles'), read-only, inherited
- cancelable → bool @DocsEditable(), @DomName('Event.cancelable'), read-only, inherited
- currentTarget → EventTarget @DocsEditable(), @DomName('Event.currentTarget'), read-only, inherited
- defaultPrevented → bool @DocsEditable(), @DomName('Event.defaultPrevented'), read-only, inherited
- eventPhase → int @DocsEditable(), @DomName('Event.eventPhase'), read-only, inherited
- hashCode → int read-only, inherited
- isTrusted → bool @DocsEditable(), @DomName('Event.isTrusted'), @Experimental(), read-only, inherited
- matchingTarget → Element read-only, inherited
-
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> @DocsEditable(), @DomName('Event.path'), @Experimental(), read-only, inherited
-
This event's path, taking into account shadow DOM.
- runtimeType → Type read-only, inherited
-
A representation of the runtime type of the object.
- scoped → bool @DocsEditable(), @DomName('Event.scoped'), @Experimental(), read-only, inherited
- target → EventTarget @DocsEditable(), @DomName('Event.target'), read-only, inherited
- timeStamp → num @DocsEditable(), @DomName('Event.timeStamp'), read-only, inherited
- type → String @DocsEditable(), @DomName('Event.type'), read-only, inherited
Operators
- operator ==(
other) → bool inherited -
The equality operator.
Methods
- respondWith(
Future r) → void @DocsEditable(), @DomName('FetchEvent.respondWith'), @Experimental() - deepPath(
) → List<EventTarget> @DocsEditable(), @DomName('Event.deepPath'), @Experimental(), inherited - noSuchMethod(
Invocation invocation) → dynamic inherited -
Invoked when a non-existent method or property is accessed.
- preventDefault(
) → void @DocsEditable(), @DomName('Event.preventDefault'), inherited - stopImmediatePropagation(
) → void @DocsEditable(), @DomName('Event.stopImmediatePropagation'), inherited - stopPropagation(
) → void @DocsEditable(), @DomName('Event.stopPropagation'), inherited - toString(
) → String inherited -
Returns the result of the JavaScript objects
toString
method. - waitUntil(
Future f) → void @DocsEditable(), @DomName('ExtendableEvent.waitUntil'), @Experimental(), inherited
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/FetchEvent-class.html