Closure Library API Documentation
Go to class or file:
networktester.js
No description.
Useful links
Source Code
Git
File Location
/goog/net/networktester.js
Classes
goog.net.NetworkTester
Creates an instance of goog.net.NetworkTester which can be used to test for internet connectivity by seeing if an image can be loaded from
google.com
. It can also be tested with other URLs.
Public
Protected
Private
Global Functions
goog.net.NetworkTester.
getNavigatorOffline_
()
⇒
boolean
No description.
Returns:
boolean
Whether navigator.onLine returns false.
code »
Directory net
File Reference