Newer Version Available
force:closeQuickAction
Closes a quick action panel. Only one quick action panel can be open in the app at a
time.
To close a quick action panel, usually in response to completing or canceling the action, run $A.get("e.force:closeQuickAction").fire();.
This example closes the quick action panel after processing the input from the
panel’s user interface and displaying a “toast” message with the processing results.
While the processing and the toast are unrelated to closing the quick action, the
sequence is important. Firing force:closeQuickAction should be the last thing your quick action
handler
does.