WindowEventHandlers abstract class

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

Constants

hashChangeEventEventStreamProvider<Event>
@DocsEditable(), @DomName('WindowEventHandlers.hashchangeEvent'), @Experimental()
const EventStreamProvider<Event>('hashchange')
messageEventEventStreamProvider<MessageEvent>
@DocsEditable(), @DomName('WindowEventHandlers.messageEvent'), @Experimental()
const EventStreamProvider<MessageEvent>('message')
offlineEventEventStreamProvider<Event>
@DocsEditable(), @DomName('WindowEventHandlers.offlineEvent'), @Experimental()
const EventStreamProvider<Event>('offline')
onlineEventEventStreamProvider<Event>
@DocsEditable(), @DomName('WindowEventHandlers.onlineEvent'), @Experimental()
const EventStreamProvider<Event>('online')
popStateEventEventStreamProvider<PopStateEvent>
@DocsEditable(), @DomName('WindowEventHandlers.popstateEvent'), @Experimental()
const EventStreamProvider<PopStateEvent>('popstate')
storageEventEventStreamProvider<StorageEvent>
@DocsEditable(), @DomName('WindowEventHandlers.storageEvent'), @Experimental()
const EventStreamProvider<StorageEvent>('storage')
unloadEventEventStreamProvider<Event>
@DocsEditable(), @DomName('WindowEventHandlers.unloadEvent'), @Experimental()
const EventStreamProvider<Event>('unload')

Properties

onHashChangeStream<Event>
@DocsEditable(), @DomName('WindowEventHandlers.onhashchange'), @Experimental(), read-only
onMessageStream<MessageEvent>
@DocsEditable(), @DomName('WindowEventHandlers.onmessage'), @Experimental(), read-only
onOfflineStream<Event>
@DocsEditable(), @DomName('WindowEventHandlers.onoffline'), @Experimental(), read-only
onOnlineStream<Event>
@DocsEditable(), @DomName('WindowEventHandlers.ononline'), @Experimental(), read-only
onPopStateStream<PopStateEvent>
@DocsEditable(), @DomName('WindowEventHandlers.onpopstate'), @Experimental(), read-only
onStorageStream<StorageEvent>
@DocsEditable(), @DomName('WindowEventHandlers.onstorage'), @Experimental(), read-only
onUnloadStream<Event>
@DocsEditable(), @DomName('WindowEventHandlers.onunload'), @Experimental(), read-only
hashCodeint
read-only, inherited
onEvents
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.

runtimeTypeType
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