Skip to content

dvdknaap/browserNotification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

browserNotification

Example

sendNotification("Hi!", {
  icon:"https://avatars3.githubusercontent.com/u/6288313?v=2&s=460", //The URL of an image to be used as an icon by the notification
  body: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed facilisis. ", ///A string representing an extra content to display within the notification
  dir: "ltr", // The direction of the notification; it can be auto, ltr, or rtl
  //tag:"myPersionalID", //An ID for a given notification that allows to retrieve, replace or remove it if necessary icon: The URL of an image to be used as an icon by the notification
  lang: "nl" //Specifiy the lang used within the notification. This string must be a valid BCP 47 language tag.
});

About

Browser notifications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published