vui-m
首页
文档
在线演示
首页
文档
在线演示
快速上手
轻提示 Toast
弹框 Dialog
遮罩层 Masker
轮播图 Swipe
行动操作 ActionSheet
上滑无限加载 InfiniteScroll
#
Toast 轻提示框
轻提示框,支持自定义位置、显示时间、css
#
例子
基本用法
this
.
$toast
(
'提示信息'
)
;
this
.
$toast
(
options
)
;
#
options 对象字段说明:
参数
说明
类型
可选值
默认值
message
文本内容
String
position
Toast 的位置
String
'top'
'bottom'
'middle'
'middle'
duration
持续时间(毫秒)
Number
2500
←
快速上手
弹框 Dialog
→