disabled

The disabled event is raised when WiFi is disabled on the device.

General info

Specification
Wifi (Firefox OS specific) and WifiDirect (Firefox OS specific)
Interface
Event
Bubbles
No
Cancelable
No
Target
WifiManager and MozWifiP2pManager
Default Action
None

Properties

Unknown

Example

navigator.mozWifiManager.ondisabled = function() {
  console.log( "Wifi has been disabled" );
};
  • statuschange
  • connectionInfoUpdate
  • enabled
  • disabled