Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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)