Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to remove SnotifyToast by button/icon in html template #137

Open
sanket-thotange opened this issue Dec 16, 2022 · 0 comments
Open

How to remove SnotifyToast by button/icon in html template #137

sanket-thotange opened this issue Dec 16, 2022 · 0 comments

Comments

@sanket-thotange
Copy link

I am trying to remove the SnotifyToast when I click on certain button/icon in html template that I specify in which generating new toast.

How to remove HTML SnotifyToast by button/icon in html template?

<div class="mb-1">
    <span class="material-icons font-extra-large pt-half notification-icon">notifications</span>
    <span class="font-medium text-semibold">${notification.data.alertSerialId}</span>
    <span class="font-medium pl-half">${notification.title}</span>
    <span class="material-icons font-large close-icon pt-onehalf">close</span> // trying to add remove logic here
</div>
@sanket-thotange sanket-thotange changed the title How to remove HTML SnotifyToast by button/icon in html template How to remove SnotifyToast by button/icon in html template Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant