Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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