visibilityChangeEvent constant

  1. @SupportedBrowser(SupportedBrowser.CHROME)
  2. @SupportedBrowser(SupportedBrowser.FIREFOX)
  3. @SupportedBrowser(SupportedBrowser.IE, '10')
EventStreamProvider<Event> const visibilityChangeEvent

Static factory designed to expose visibilitychange events to event handlers that are not necessarily instances of Document.

See EventStreamProvider for usage information.

Implementation

@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@SupportedBrowser(SupportedBrowser.IE, '10')
static const EventStreamProvider<Event> visibilityChangeEvent =
    const _CustomEventStreamProvider<Event>(
        _determineVisibilityChangeEventType);