1.0.24 • Published 2 years ago
npm-com-alert v1.0.24
NOTE: THIS IS A TEST PACKAGE!
Try it
npm i npm-com-alert
Params
this.$alert({
// custom className,自定义的样式类
className: '',
visible: false,
// title, support html,标题,可传HTML
title: '',
// text, support html,提示文字,可传HTML
text: '',
// button name, optional,按钮文字,可选
btnTitle: '',
// click Close in the upper right corner?
// It can be closed by default
// 是否可点击右上角关闭,默认可关闭
closable: true,
}).then((res) => {
if (res === true) {
// return boolean, you can write your code here.
// 点击按钮返回布尔值true
}
})
1.0.19
2 years ago
1.0.18
2 years ago
1.0.17
2 years ago
1.0.16
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.22
2 years ago
1.0.21
2 years ago
1.0.20
2 years ago
1.0.24
2 years ago
1.0.23
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.15
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.6
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