visibilityState property

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

Implementation

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