SPlus.Connection.isOnline (function (online){
//TODO: Implement what to do when SharePlus is online or not
});
This method is used to determine the connection mode and is closely related to the go online/offline button.
SPlus.Connection.isOnline (function (online){
//TODO: Implement what to do when SharePlus is online or not
});