Directory

app-notifications - Vaadin Add-on Directory

Web component for using the notifications API. app-notifications - Vaadin Add-on Directory
**[ This description is mirrored from README.md at [github.com/jifalops/app-notifications](https://github.com//jifalops/app-notifications/blob/1.0.0/README.md) on 2019-05-22 ]** [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/jifalops/app-notifications) # app-notifications Web component for using the notifications API. ## Installation ``` bower install --save app-notifications ``` ## Usage * Give it an `id` and call the `show()` method. * Pass event handlers to `show()` or as attributes like `on-show="..."`. ## Demo ```html Title:

Options:

Duration (ms):

Last event: ``` Full demo: [webcomponents.org](https://www.webcomponents.org/element/jifalops/app-notifications/demo/demo/index.html) | [github](https://jifalops.github.io/app-notifications/components/app-notifications/demo/). API: [webcomponents.org](https://www.webcomponents.org/element/jifalops/app-notifications/app-notifications) | [github](https://jifalops.github.io/app-notifications). ## Contributing 1. Fork it on Github. 2. Create your feature branch: `git checkout -b my-new-feature` 3. Commit your changes: `git commit -am 'Add some feature'` 4. Push to the branch: `git push origin my-new-feature` 5. Submit a pull request ## License [MIT](https://opensource.org/licenses/MIT)