Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

ondisabled Redirect 1

The ondisabled handler is executed when Wifi is disabled on the device.

General info

Specification
Firefox OS specific
Interface
Event
Bubbles
No
Cancelable
No
Target
navigator.wifi
Default Action
None

Properties

Unknown

Example

navigator.wifi.ondisabled = function() {
  console.log( "Wifi has been disabled" );
};

Document Tags and Contributors

 Last updated by: ethertank,