1.0.0 • Published 3 years ago

@meveo-org/mv-toast v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

mv-toast

MvToast is a Meveo component (based on lit-element) that renders a notification container.

Features

  • Very simple component that only requires one tag and property
  • Allows custom elements to be used in content section
  • Written in vanilla javascript

Quick Start

To experiment with the MvToast component.

  1. Clone this repo.
  2. Serve the project from the root directory with some http server (best served with meveo itself)

The mv-toast has 3 type variants:

success, information, and error 

You can also check this demo

The close button can be disabled by declaring

<mv-toast .closeable="${false}"></mv-toast>
1.0.0

3 years ago