0.0.9 • Published 6 years ago

mui-toast v0.0.9

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

mui-toast

Install

npm install mui-toast

Use

import {openToast} from 'mui-toast'

openToast('加载中...')
或
import 'mui-toast'

wuage.openToast({
    message: '加载中...',
    duration: 3000,
    zindex: 1,
    icon: 'loading'
})

引入mui-toast自动绑定到全局变量wuage上

Param

  1. message: 内容, 必填
  2. duration: 持续时间, 默认1500, 单位毫秒
  3. icon: 图标, 现在仅提供warn,loading, 默认空
  4. position: 位置top , center, bottom, 默认center
  5. zindex: 1
0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago