0.1.2 • Published 6 years ago
optimat-vue-alert-dialog v0.1.2
警告对话框
使用方式(Usage)
安装(Install)
npm install optimat-vue-alert-dialog -save
导入(Import)
*.js
import AlertDialog from 'optimat-vue-alert-dialog'
*.vue
<script>
import AlertDialog from 'optimat-vue-alert-dialog'
</script>
标签(Target)
*vue
<AlertDialog :options="alertDialogOptions"></AlertDialog>
功能(Api)
Options | Type | Description | Default | Result |
---|---|---|---|---|
title | string | 对话框标题 | "" | |
content | string | 对话框内容 | "" | |
isShow | boolean | 是否显示对话框图层 | false | |
showMask | boolean | 是否显示半透明蒙版 | false | |
autoDismiss | boolean | 点击对话框外部是否自动隐藏 | true | |
onHide | function | 对话框隐藏事件 | undefined | |
buttonColor | string | 按钮颜色(HEX) | #00AAEE |