$.fn.triggerAsync(type, data, success, prevented, success(event), prevented(event)) -> undefined
{String}
The type of event
{Object}
The data for the event
{}
{}
{Function}
a callback function
{Function}
called if preventDefault is called on the
{undefined}
Triggers an event and calls success when the event has finished propagating through the DOM and preventDefault is not called.
You can also provide a callback that gets called if preventDefault was called on the event:
triggerAsync is designed to work with the jquery.event.pause plugin although it is defined in
jquery/event/defaultAPI