optimat-vue-input-dialog

文本输入对话框
547 1
Install
npm install optimat-vue-input-dialog
Latest Version:0.1.3
Vue:2
License:ISC
Last Updated:Sep 18, 2018
Links: GitHub  ·  npm
Maintainer: unizonetech

文本输入对话框

使用方式(Usage)

安装(Install)

npm install optimat-vue-input-dialog -save

导入(Import)

*.js
import InputDialog from 'optimat-vue-input-dialog'
*.vue
<script>
    import InputDialog from 'optimat-vue-input-dialog'
</script>

标签(Target)

*vue
<InputDialog :options="inputDialogOptions"></InputDialog>

功能(Api)

Options Type Description Default Result
title string 对话框标题 ""
content string 对话框内容 ""
inputHint string 输入框占位内容 ""
defaultValue string 对话框默认内容 ""
isShow boolean 是否显示对话框图层 false
showMask boolean 是否显示半透明蒙版 false
autoDismiss boolean 点击对话框外部是否自动隐藏 true
onHide function 对话框隐藏事件 undefined
onCancel function 点击取消按钮时执行 undefined
onConfirm function 点击确认按钮时执行 undefined (inputText)
primaryColor string 主颜色(HEX) #00AAEE
confirmButtonColor string 确认按钮颜色(HEX) #00AAEE
cancelButtonColor string 取消按钮颜色(HEX) #00AAEE

Related Packages

optimat-vue-date-picker

用于Vue.js的日期选择器

1,884 1
vue-pc-table

table for pc based Vue2.x

646
duplicate-dependencies-webpack-plugin

webpack plugin to find duplicated dependencies from your bundle

332,104 6

Version History

Version Released Vue License
0.1.3 ^2.5.16 ISC
0.1.2 ^2.5.16 ISC
0.1.1 ^2.5.16 ISC
0.1.0 ^2.5.16 ISC
0.0.11 ^2.5.16 ISC