.promise(ignorePrevious ,target)
Description:
Return a Promise object to observe when the running jQuery chain finishes.
- ignorePrevious –
boolean
, optional - If the deferred jQuery chain is running as an inline event handler then this argument tells whether to ignore previous triggers and to wait for the next triggered run.
- target –
object
, optional - Object onto which the promise methods have to be attached.