Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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)