Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

jQuery deferred.progress() method

jQuery deferred.progress() method

jQuery Miscellaneous MethodsjQuery Miscellaneous Methods


Definition and Usage

The deferred.progress() function calls the added handlers when the Deferred object generates a progress notification.

**Note:** progressCallbacks are invoked when a progress notification is generated on the deferred object by calling notify or notifyWith. Since deferred.progress() returns the deferred object, other deferred object methods can be chained to it. When the deferred object is resolved or rejected, the progress callbacks will no longer be called.


Syntax

deferred.progress( progressCallbacks )

Parameters Description
progressCallbacks Function type: A function or an array of functions called when the Deferred object generates a progress notification.

jQuery Miscellaneous MethodsjQuery Miscellaneous Methods