onchange
Summary
Handles the change event, fired when the Connection changes.
Property of apis/network_information/Connectionapis/network_information/Connection
Syntax
var result = connection.onchange;
connection.onchange = value;
Return Value
Returns an object of type EventHandlerEventHandler
Notes
As of 25 June 2014:
- Formal work on the Network Information spec has been stopped. The specification is now a W3C Note.
- Both Chrome and Firefox have shipped Network Information under an experimental feedback channel.
Related specifications
- The Network Information API
- W3C Note