notification-toast

WebJar for notification-toast

License

License

MIT
GroupId

GroupId

org.webjars.bowergithub.jifalops
ArtifactId

ArtifactId

notification-toast
Last Version

Last Version

0.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

notification-toast
WebJar for notification-toast
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/jifalops/notification-toast

Download notification-toast

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.jifalops/notification-toast/ -->
<dependency>
    <groupId>org.webjars.bowergithub.jifalops</groupId>
    <artifactId>notification-toast</artifactId>
    <version>0.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.jifalops/notification-toast/
implementation 'org.webjars.bowergithub.jifalops:notification-toast:0.2.0'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.jifalops/notification-toast/
implementation ("org.webjars.bowergithub.jifalops:notification-toast:0.2.0")
'org.webjars.bowergithub.jifalops:notification-toast:jar:0.2.0'
<dependency org="org.webjars.bowergithub.jifalops" name="notification-toast" rev="0.2.0">
  <artifact name="notification-toast" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.jifalops', module='notification-toast', version='0.2.0')
)
libraryDependencies += "org.webjars.bowergithub.jifalops" % "notification-toast" % "0.2.0"
[org.webjars.bowergithub.jifalops/notification-toast "0.2.0"]

Dependencies

compile (4)

Group / Artifact Type Version
org.webjars.bowergithub.polymer : polymer jar [2.0.0,3)
org.webjars.bowergithub.polymerelements : paper-toast jar [2.0.0,3)
org.webjars.bowergithub.polymerelements : iron-icon jar [2.0.0,3)
org.webjars.bowergithub.jifalops : app-toast jar [0.3.1,0.4)

Project Modules

There are no modules declared in this project.

Published on Vaadin  Directory Stars on vaadin.com/directory Published on webcomponents.org

notification-toast

An app-toast (paper-toast) wrapper for simulating web notifications.

Installation

bower i -S notification-toast       # Polymer 2.0 hybrid (1.x compatible)
bower i -S notification-toast#^0.1  # Polymer 1.x based

Usage

  • Drop notification-toast in and call the show() method.

Demo

<notification-toast id="toast"></notification-toast>
<input id="title" placeholder="title" value="Title"/><br/>
<input id="body" placeholder="body" value="body"/><br/>
<input id="icon" placeholder="icon" value="demo/monkey.jpg"/><br/>
<button onclick="show()">Show</button>&nbsp;
<button onclick="toast.close()">Close</button><br/>
Last Event: <span id="feedback"></span>

Full demo: webcomponents.org | github.

API: webcomponents.org

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

Versions

Version
0.2.0