Skip to content

GNURub/x-swal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#<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">

About

Implementation of sweetalert in webcomponent

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages