Open Kalmuraee opened 6 years ago
I've managed to trigger the conditional closing through adding a condition on "closeEvent" function
if(e.srcElement.id === "actionTaken"){ // The rest of closing function is here }
and assigning id="actionTaken"
to the buttons where you want to close.
Make sure that closeOnClick
is true
If there's a better way , please let me know. Regards,
Hi
Do we have a built in function to close or remove the current notification ? I'll post my findings here if I have found any solution .