nega-toast
v0.0.0
Published
Simple toast web component
Downloads
1
Readme
nega-toast
<nega-toast>
Simple toast web component
See: Documentation, Demo.
Usage
Installation
npm install --save nega-toast
In an html file
<html>
<head>
<script type="module">
import 'nega-toast/nega-toast.js';
</script>
</head>
<body>
<nega-toast>Hi!</nega-toast>
</body>
</html>
Contributing
Feel free to fork and send over PRs. Still a lot of places this can be improved, i.e. styling, more options, or better behaviors.
Installation
git clone https://github.com/kennethklee/nega-toast
cd nega-toast
npm install
Running locally
$ npm start
Running tests
$ npm test