visibilityEvent method

void visibilityEvent(
  1. Event e
)

Implementation

void visibilityEvent(html.Event e) {
  if (html.document.visibilityState == 'hidden')
    _channel.invokeMethod('lock', 'web');
}