Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chemzqm/noticon
tiny notification bubble component
https://github.com/chemzqm/noticon
Last synced: about 1 month ago
JSON representation
tiny notification bubble component
- Host: GitHub
- URL: https://github.com/chemzqm/noticon
- Owner: chemzqm
- Created: 2014-04-20T17:44:50.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-04-21T16:57:03.000Z (over 10 years ago)
- Last Synced: 2024-10-29T12:33:55.121Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 148 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Noticon
Simple notification bubble component.
![screen shot 2014-04-21 at 1 38 51](https://cloud.githubusercontent.com/assets/251450/2751152/b8b37bb0-c8b4-11e3-9131-c30dc491e5d4.png)
## Installation
$ component install chemzqm/noticon
## API
### new Noticon(el, [selector])
Initialize a new `Noticon` with optional CSS `selector` used
### .update(n)
Update the number to `n`, this will automatically
draw the bubble and replace the favicon.hide if n is `0`.
# License
MIT