Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kennethklee/nega-toast

Simple toast web component.
https://github.com/kennethklee/nega-toast

Last synced: 1 day ago
JSON representation

Simple toast web component.

Awesome Lists containing this project

README

        

# nega-toast
# \

Simple toast web component

[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/kennethklee/nega-toast)

See: [Documentation](https://www.webcomponents.org/element/nega-toast),
[Demo](https://kennethklee.github.io/nega-toast/demo/).

# Usage

## Installation

```shell
npm install --save nega-toast
```

## In an html file

```html



import 'nega-toast/nega-toast.js';



Hi!

```

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