I couldn't achieve that catching on clicks. Multiple toasts appear on screen and i want to get data of specific toast data on click.
Alarm/notification.. many toasts on screen and if i click on alarm, i want to show data about it not others.
i could get last notification data always not specific one inside of them.
The third parameter gives you the ability to set the options one of them is onclick
toastr.success('We do have the Kapua suite available.', 'Turtle Bay Resort', {onclick: function (){ .... }})
I couldn't achieve that catching on clicks. Multiple toasts appear on screen and i want to get data of specific toast data on click. Alarm/notification.. many toasts on screen and if i click on alarm, i want to show data about it not others. i could get last notification data always not specific one inside of them.
Thanks in advice