+ Start a Discussion
Megha Mittal 19Megha Mittal 19 

Override standard close button method on a modal with a custom method in lightning

I have a page where I am creating a quickaction and having a lightning component fire on it. Need to change the action that happens on close. Can someone help me with the method name and how I can override the close button
What do you want to do when you click the close button on the Modal pop up? 
Please post code snippet of your lightning component, JS controller/Helper , Apex controller(if any)