Functiondojox.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)
parametertypedescription
typeString"online" if we just moved online, and "offline" if we just moved offline.