nw-toast
toast组件
安装
$ yarn add nw-toast
API
;
toast(options)
显示toast
options
: required Object 选项text
: required String 内容delay
: required Number 多久后隐藏,单位为毫秒,默认2000
; ;
;
Toast类,可以继承后再做自定义
toast组件
$ yarn add nw-toast
;
toast(options)
显示toast
options
: required Object 选项
text
: required String 内容delay
: required Number 多久后隐藏,单位为毫秒,默认2000; ;
;
Toast类,可以继承后再做自定义
npm i nw-toast
4
1.17.0
none
10.4 kB
10