Toast

吐司

Codesandbox

API

Name Description Type Values Default
message Text or html message for toast String
duration Duration toast will remain on screen, optional Number 2000
position Where the toast will show on the screen, optional String is-top, is-bottom, is-top-left, is-top-right, is-bottom-left, is-bottom-right is-top
type Type (color), optional String is-white, is-black, is-light, is-dark, is-primary, is-info, is-success, is-warning, is-danger is-dark
background Background type (any of the Bulma has-background- classes will work), optional String has-background-*