sune-essage
v1.0.1
Published
A more elegant way to show message
Downloads
1
Readme
Essage
A more elegant way to show message.
Installaion
npm i --save sune-essage
Usage
show(message, duration) show message
// The argument message can be html(string)
Essage.show('<b>Hello</b>, I am a message.')
// Or an object:
const message = {
message: 'message body',
status: 'success',
placement: 'bottom'
}
Essage.show(message, 3000)
hide() hide message
Essage.hide()
Licence
Licensed under MIT. liccese.txt