x-swal

Implementation of the sweetAlert in webcomponent


Keywords
polymer, web-component, web-components, swal, sweet, sweetAlert, alert
License
MIT
Install
bower install x-swal

Documentation

#<x-swal> element </x-swal>

An awesome replacement for JavaScript's alert.

See it in action!

A success modal

#Usage

You can install x-swal through bower:

bower install x-swall

Download the package and reference the Component file:

<!-- Optional polyfill-->
<script src="../webcomponentsjs/webcomponents-lite.min.js" />
<!--Element-->
<link rel="import" href="../x-swal/x-swal.html">