0.0.0 • Published 4 years ago

nega-toast v0.0.0

Weekly downloads
5
License
ISC
Repository
github
Last release
4 years ago

nega-toast

\<nega-toast>

Simple toast web component

Published on webcomponents.org

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