W3cubDocs

/Dart 2

visibilityState property

String visibilityState
@SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.FIREFOX), @SupportedBrowser(SupportedBrowser.IE, '10')

Implementation

@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@SupportedBrowser(SupportedBrowser.IE, '10')
String get visibilityState => JS(
    'String',
    '(#.visibilityState || #.mozVisibilityState || #.msVisibilityState ||'
    '#.webkitVisibilityState)',
    this,
    this,
    this,
    this);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-html/Document/visibilityState.html