mlcheng/js-toast

.stylize() shouldn't be necessary if custom styles aren't needed

Closed this issue · 0 comments

When showing a toast, .stylize() shouldn't be needed unless custom styles are used. Therefore, the minimal syntax should be reduced to

toast.setText(...).show()

This is much more intuitive than before.