Skip to content

polito-hci-2020/notifications-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

notifications-sample

A sample project to explore the notification feature.

API(s)

  • Notifications

Instructions

  • Click the Show notification button to make a notification popup.
  • If it is your first time running this example, you are asked to grant/deny the notifications permission to the browser. Screenshot 1
  • If you click Allow, the notification will appear.
  • If you click Block, an error alert will pop up.
  • You can still make the notifications permission popup appear by clicking on the Info button near the page URL and setting that permission properly. To apply the update, reload the page. Screenshot 2

Notes

  • The project has been tested on
    • Google Chrome 87 (both Desktop and mobile)
    • Mozilla Firefox 83 (both Desktop and mobile)

Documentation and useful resources

About

A sample project to explore the notifications feature.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published