a simple toast based on es6 class
const option = {
duration:4000,
msg:'hello world',
position: 'bottom'
}
new Simple_Toast(option)
or
new Simple_Toast('hello world')
const toast = new Simple_Toast('hello world')
toast.show()