JQuery

Delayed object-deferred.resolve(args)

Delayed object-deferred.resolve(args), someone asked me to explain?

Overview

Resolve the deferred object and call any completed callback function based on the given parameters.

When deferral is resolved, any deferred.then or deferred.fail added by failCallbacks is called. Callbacks are executed in the order they were added. The args passed by each callback are called in deferred.reject(). After adding any failCallbacks deferred to the denied state, the addition is performed immediately, and the parameters used are passed to the .reject() call. See the file Deferred object for details .

parameter

args String V1.5

Optional parameters passed to doneCallbacks

Post your comments / questions