dart / 1 / dart-html / windoweventhandlers-class.html

WindowEventHandlers abstract class

Inheritance
Implemented by
Annotations
  • @DocsEditable()
  • @DomName('WindowEventHandlers')
  • @Experimental()

Constants

hashChangeEvent → EventStreamProvider<Event>
@DocsEditable(), @DomName('WindowEventHandlers.hashchangeEvent'), @Experimental()
const EventStreamProvider<Event> ('hashchange')
messageEvent → EventStreamProvider<MessageEvent>
@DocsEditable(), @DomName('WindowEventHandlers.messageEvent'), @Experimental()
const EventStreamProvider<MessageEvent> ('message')
offlineEvent → EventStreamProvider<Event>
@DocsEditable(), @DomName('WindowEventHandlers.offlineEvent'), @Experimental()
const EventStreamProvider<Event> ('offline')
onlineEvent → EventStreamProvider<Event>
@DocsEditable(), @DomName('WindowEventHandlers.onlineEvent'), @Experimental()
const EventStreamProvider<Event> ('online')
popStateEvent → EventStreamProvider<PopStateEvent>
@DocsEditable(), @DomName('WindowEventHandlers.popstateEvent'), @Experimental()
const EventStreamProvider<PopStateEvent> ('popstate')
storageEvent → EventStreamProvider<StorageEvent>
@DocsEditable(), @DomName('WindowEventHandlers.storageEvent'), @Experimental()
const EventStreamProvider<StorageEvent> ('storage')
unloadEvent → EventStreamProvider<Event>
@DocsEditable(), @DomName('WindowEventHandlers.unloadEvent'), @Experimental()
const EventStreamProvider<Event> ('unload')

Properties

onHashChange → Stream<Event>
@DocsEditable(), @DomName('WindowEventHandlers.onhashchange'), @Experimental(), read-only
onMessage → Stream<MessageEvent>
@DocsEditable(), @DomName('WindowEventHandlers.onmessage'), @Experimental(), read-only
onOffline → Stream<Event>
@DocsEditable(), @DomName('WindowEventHandlers.onoffline'), @Experimental(), read-only
onOnline → Stream<Event>
@DocsEditable(), @DomName('WindowEventHandlers.ononline'), @Experimental(), read-only
onPopState → Stream<PopStateEvent>
@DocsEditable(), @DomName('WindowEventHandlers.onpopstate'), @Experimental(), read-only
onStorage → Stream<StorageEvent>
@DocsEditable(), @DomName('WindowEventHandlers.onstorage'), @Experimental(), read-only
onUnload → Stream<Event>
@DocsEditable(), @DomName('WindowEventHandlers.onunload'), @Experimental(), read-only
hashCode → int
read-only, inherited
on → Events
read-only, inherited

This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.

runtimeType → Type
read-only, inherited

A representation of the runtime type of the object.

Operators

operator ==(other) → bool
inherited

The equality operator.

Methods

addEventListener(String type, EventListener listener, [ bool useCapture ]) → void
inherited
dispatchEvent(Event event) → bool
@DocsEditable(), @DomName('EventTarget.dispatchEvent'), inherited
noSuchMethod(Invocation invocation) → dynamic
inherited

Invoked when a non-existent method or property is accessed.

removeEventListener(String type, EventListener listener, [ bool useCapture ]) → void
inherited
toString() → String
inherited

Returns the result of the JavaScript objects toString method.

© 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/WindowEventHandlers-class.html