dojox.off.ui._onNetwork
dojo.require("dojox.off.ui");
defined in dojox/off/ui.js
When we go online or offline, this method is called to update our UI. Default behavior is to update the Offline Widget UI and to attempt a synchronization.
Usage
function (/*String*/ type) (view source)
parameter | type | description |
---|---|---|
type | String | "online" if we just moved online, and "offline" if we just moved offline. |