1.0.4 • Published 7 months ago

toast-noti v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
7 months ago

toast-noti

Simple toast library

Install

npm i toast-noti

Usage

import Toast from 'toast-noti'
import 'toast-noti/dist/toast.style.css'
// You can custom CSS if you want.

const toast = new Toast({
    duration: 3000,
    position: 'top-right', // Can custom with CSS
    pauseOnHover: true,
    appendOnTopBody: true // If true, container auto append on body
})

toast.success('Message')
toast.error('Message')
toast.alert('Message')
1.0.4

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago