# Toast

反馈与提示,用于各类数据交互场景,如请求过程中的 loading,操作成功,警告等。

# 代码演示

# 说明

pro-toast 有默认的 min-width,max-width,min-height

Toast 拥有四种方法类型

# API

Option Description  Type Default Value
(static) max 同时存在最大 toast 数 Number 10
choke Toast 出现阻塞页面的交互 Number 10
info info toast void () {} -
success success toast void () {} -
fail fail toast void () {} -
loading 显示 loading toast 事件 void () {} -
destroy 销毁 loading toast 事件 void () {} -
loadingType loading 的类型 'cube' | 'default' | 'circle' | 'bounce' -
style 自定义 q-toast 的内联样式 CSSProperties {}
message Toast的文字 string ''
拖拽移动|点击折叠