Skip to content

component/noticon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Noticon

Favicon notifications inspired by original tinycon. Styled with CSS!

js pie favicons

Installation

$ component install component/noticon

Styling

Noticon utilizes component/style to enable CSS styling for Canvas rasters. For example the default style is:

.noticon {
  color: white;
  background: #ED372A;
}

API

new Noticon([selector])

Initialize a new Noticon with optional CSS selector used for styling, this defaults to ".noticon".

Noticon#update(n)

Update the number to n, this will automatically draw the bubble and replace the favicon.

License

MIT

About

Notification bubble favicons

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published