Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jifalops/app-toasts
Commonly used toasts are themed, swipeable, and actionable.
https://github.com/jifalops/app-toasts
swipeable toast webcomponents
Last synced: 2 months ago
JSON representation
Commonly used toasts are themed, swipeable, and actionable.
- Host: GitHub
- URL: https://github.com/jifalops/app-toasts
- Owner: jifalops
- License: mit
- Created: 2017-03-05T05:47:41.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-31T03:41:32.000Z (over 6 years ago)
- Last Synced: 2024-11-10T06:05:12.158Z (3 months ago)
- Topics: swipeable, toast, webcomponents
- Language: HTML
- Size: 2.57 MB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
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-toasts)
[![Stars on vaadin.com/directory](https://img.shields.io/vaadin-directory/star/jifalopsapp-toasts.svg)](https://vaadin.com/directory/component/jifalopsapp-toasts)
[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/jifalops/app-toasts)# app-toasts
Success, error, info, and warning theme presets for app-toast.## Installation
```
bower i -S app-toasts # Polymer 2.0 hybrid (1.x compatible)
bower i -S app-toasts#0.3 # Polymer 1.x based
```## Usage
* Drop `app-toasts` in and call one of the `show()` methods.
* Or use [app-toast](https://www.webcomponents.org/element/jifalops/app-toast)
directly.## Demo
```html
Show cancel
Disable swipe
Fit to bottom
Intense coloring
Success
Info
Warning
Error
Default
Close
Last Event:
```Full demo:
[webcomponents.org](https://www.webcomponents.org/element/jifalops/app-toasts/demo/demo/index.html)
| [github](https://jifalops.github.io/app-toasts/components/app-toasts/demo/).API: [webcomponents.org](https://www.webcomponents.org/element/jifalops/app-toasts/app-toasts)
## 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)