Export (0) Print
Expand All

Loader.Resume Method

Restarts the Loader.

Script:  http://www.wlmessenger.net/api/3.7/loader.js
Namespace:  Microsoft.Live.Core
 

Microsoft.Live.Core.Loader.resume();

The Resume method restarts the downloading of features after the Pause() method has been invoked. If the loader has not been paused or all features have been loaded, this method has no effect.

The example below pauses and then resumes the loader.


             function onTimeout() {
                 Microsoft.Live.Core.Loader.resume();
             }
             
             function onLoaded() {
                 alert("Features loaded.");
             }
             
             Microsoft.Live.Core.Loader.pause();
             Microsoft.Live.Core.Loader.load(["Messenger.Core", "Messenger.UI"], onLoaded);
            
             setTimeout(onTimeout, 5000);
             

Windows Live Messenger Web Toolkit

Supported in: 3.7, 3.5, 3.1, 3.0

Internet Explorer 8.0, Internet Explorer 7.0, Internet Explorer 6.0, Firefox 3.5, Firefox 3.0, Firefox 2.0, Firefox 1.5, Chrome 3.0, Chrome 2.0, Chrome 1.0, Safari 4.0, Safari 3.0

Show:
© 2014 Microsoft