-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
guide me to Get action in serviceworker plz! #131
Comments
The example in the demo code is here: The actions you specify must be handled in the https://docs.w3cub.com/dom/serviceworkerglobalscope/notificationclick_event So in the example code you would do various things in JavaScript based on the action clicked:
This is why you are passing the URL to a JavaScript file to the |
hi majorimi
in your blazor-component notification, i can make notification appearing with 2 actions( copy paste your code!). but when clicking on notification buttons nothing happened. i know i must get that actions(action1,action2) in service worker.but can you explain or reference me to document for understanding how to do things such as go to a page or etc when user clicked on action buttons in notification popup.
thanks alot
The text was updated successfully, but these errors were encountered: