Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jifalops/app-toast
A swipeable, actionable, and themable paper-toast.
https://github.com/jifalops/app-toast
Last synced: about 2 months ago
JSON representation
A swipeable, actionable, and themable paper-toast.
- Host: GitHub
- URL: https://github.com/jifalops/app-toast
- Owner: jifalops
- License: mit
- Created: 2017-03-16T00:29:28.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-31T03:41:49.000Z (over 6 years ago)
- Last Synced: 2024-11-08T06:17:53.733Z (2 months ago)
- Language: HTML
- Size: 2.06 MB
- Stars: 7
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/jifalopsapp-toast)
[![Stars on vaadin.com/directory](https://img.shields.io/vaadin-directory/star/jifalopsapp-toast.svg)](https://vaadin.com/directory/component/jifalopsapp-toast)
[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/jifalops/app-toast)# app-toast
A swipeable, actionable, and themable paper-toast.## Installation
```
bower i -S app-toast # Polymer 2.0 hybrid (1.x compatible)
bower i -S app-toast#0.2.3 # Polymer 1.x based
```## Usage
* Drop `app-toast` in and call the `show()` method.
* Use [app-toasts](https://www.webcomponents.org/element/jifalops/app-toasts)
for preset themes.## Demo
```html
No icon
check-circle
check
check-box
info
info-outline
warning
error
error-outline
Show cancel
Disable swipe
Fit to bottom
Styled
Show
Close
Last Event:
```Full demo:
[webcomponents.org](https://www.webcomponents.org/element/jifalops/app-toast/demo/demo/index.html)
| [github](https://jifalops.github.io/app-toast/components/app-toast/demo/).API: [webcomponents.org](https://www.webcomponents.org/element/jifalops/app-toast/app-toast)
## 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)