我们的志愿者还没有将这篇文章翻译为 中文 (简体)。加入我们帮助完成翻译!
您也可以阅读此文章的English (US)版。
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
andMozWifiP2pManager
- Default Action
- None
Properties
Unknown
Example
navigator.mozWifiManager.ondisabled = function() { console.log( "Wifi has been disabled" ); };