onenabled

The enabled handler is executed when Wifi is enabled 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.onenabled = function() {
  console.log( "Wifi has been enabled" );
};

Document Tags and Contributors

 Last updated by: Jeremie,