0.0.1-alpha7 • Published 3 years ago

@internetarchive/toast-manager v0.0.1-alpha7

Weekly downloads
-
License
AGPL-3.0-only
Repository
github
Last release
3 years ago

Build Status codecov

Toast Manager Component

A Toast manager built on LitElement with support for custom content and light DOM elements.

Toast Manager

Installation

npm install --save @internetarchive/toast-manager

Usage

<!-- index.html -->
<script type="module">
  import '@internetarchive/toast-manager';
  import { ToastConfig } from '@internetarchive/toast-manager';
</script>

<toast-template></toast-template>

Config Options

All of the config options:

const config = new ToastConfig();
config.texts = 'Thank you for your support!1111';
config.bgColor = 'black';
config.showCloseButton = true;
config.dismisOnClick = false;
config.closeOnBackdropClick = true;

Development

Prerequisite

npm install

Start Development Server

npm start

Testing

npm test

Linting

npm lint
0.1.0

3 years ago

0.0.1-alpha9

3 years ago

0.0.1-alpha10

3 years ago

0.0.1-alpha8

3 years ago

0.0.1-alpha7

3 years ago

0.0.1-alpha6

3 years ago

0.0.1-alpha5

3 years ago

0.0.1-alpha4

3 years ago

0.0.1-alpha3

3 years ago

0.0.1-alpha2

3 years ago

0.0.1-alpha1

3 years ago

0.0.1

3 years ago