The disabled event is raised when WiFi is disabled on the device.
General infoEdit
- Specification
- Wifi (Firefox OS specific) and WifiDirect (Firefox OS specific)
- Interface
Event
- Bubbles
- No
- Cancelable
- No
- Target
WifiManager
andMozWifiP2pManager
- Default Action
- None
PropertiesEdit
Unknown
ExampleEdit
navigator.mozWifiManager.ondisabled = function() {
console.log( "Wifi has been disabled" );
};