onLine property

Returns the online status of the browser.

This property is read-only.

Syntax

JavaScript
ptr = object.onLine

Property values

Type: boolean

Online status of the browser

Remarks

Returns true if the browser is online, false if not.

See also

WorkerNavigator

 

 

Show:
© 2014 Microsoft