Name: vaadin-notification
Owner: Vaadin
Description: The Web Component for customized notifications. Part of the Vaadin components.
Created: 2017-10-19 12:49:14.0
Updated: 2018-05-14 09:46:40.0
Pushed: 2018-05-14 09:46:39.0
Homepage: https://vaadin.com/components
Size: 376
Language: HTML
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Live Demo ? | API documentation ?
<vaadin-notification> is a Polymer 2 element providing accessible and customizable notifications (toasts), part of the Vaadin components.
din-notification opened position="middle" duration="-1">
emplate>
Your work has been saved
template>
adin-notification>
Vaadin components use the Lumo theme by default.
src/vaadin-notification.html
Unstyled component.
theme/lumo/vaadin-notification.html
Component with Lumo theme.
vaadin-notification.html
Alias for theme/lumo/vaadin-notification.html
Fork the vaadin-notification
repository and clone it locally.
Make sure you have npm installed.
When in the vaadin-notification
directory, run npm install
and then bower install
to install dependencies.
Run polymer serve --open
, browser will automatically open the component API documentation.
You can also open demo or in-browser tests by adding demo or test to the URL, for example:
http://127.0.0.1:8080/components/vaadin-notification/demo
http://127.0.0.1:8080/components/vaadin-notification/test
vaadin-notification
directory, run polymer test
We are using ESLint for linting JavaScript code. You can check if your code is following our standards by running gulp lint
, which will automatically lint all .js
files as well as JavaScript snippets inside .html
files.
gulp lint
polymer test
Apache License 2.0
Vaadin collects development time usage statistics to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.