JQuery

Delayed object-deferred.notifyWith(context,[args])

Delayed object-deferred.notifyWith(context,[args]), someone asked me to explain?

Overview

Remove the spaces at the beginning and end of the string.

When deferred.notifyWith, any doneCallbacks added progressCallbacks , deferred.then or deferred.fail is called. Callbacks are executed in the order they were added. The args passed by each callback are called in deferred.reject(). The notifyWith() delay is resolved or rejected ( or after any progressCallbacks are added) is ignored . See the file Deferred object for details .

parameter

contextStringV1.7

The context passes the progressCallbacks to this object.

args String V1.7

Optional parameters are passed to progressCallbacks.

Post your comments / questions