Latest web development tutorials

jQuery deferred.progress () method

jQuery Misc Methods jQuery Misc Methods


Definition and Usage

deferred.progress () function when when the Deferred (delay) object generation progress notifications, add a call handler.

Note: When making notifyWith by calling notify or delayed notification when objects produce progress, progressCallbacks will be called. Since deferred.progress () Returns the delay object, so other methods lingering objects can be linked to the object. When the delay object is resolved or rejected, the progress callback function will no longer be called.


grammar

deferred.progress( progressCallbacks )

参数 描述
progressCallbacks Function类型 一个函数或者函数数组,当Deferred(延迟)对象生成进度通知时被调用。


jQuery Misc Methods jQuery Misc Methods