Essage - elegant way to display tips/message
documentation →
// show message
Essage.show('hello, im a message.');
// hide message
Essage.hide();
// hide automaticlly after 2000
Essage.show('message', 2000);
// `message` can be an object (config)
Essage.show({
message: 'message body',
// add class `essage-success` to the container
// by default, there're 4 status: normal, warning, success, error
status: 'success',
// the placement can be `top` or `bottom`, by default is `top`
placement: 'bottom'
});
show
show & hide automaticlly
show at bottom
show with status
hide