1.1.2 • Published 3 years ago

zlear-toast v1.1.2

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

toast

A Toast project

可配置参数

参数名称类型含义默认值是否必填
contentString消息提示的内容
typeString提示状态类型,info、success、warning、error 四个选项info
durationNumber显示时间-毫秒1500
showCloseBoolean是否显示关闭按钮不显示
positionString位置信息:left、center、rightcenter
onClosefunction关闭toast后的回调函数

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

Use

# install
npm install zlear-toast

# import
import Toast from 'zlear-toast'
Vue.use(Toast)

# use
this.$toast({
    content: 'toast的内容'
})

For detailed explanation on how things work, consult the docs for vue-loader.

1.1.1

3 years ago

1.1.0

3 years ago

1.1.2

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.12

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago