1.3.1 • Published 2 years ago
aiyong-keyboard v1.3.1
aiyong-keyboard 爱用商城数字键盘组件
使用方法/method
<inputer @getValue="getValue" ref='inputer' />
methods: {
getValue(data) {
// TO DO
},
clear() {
this.$refs.inputer.clear()
},
set(val) {
this.$refs.inputer.clear(val)
}
}
属性/attribute
placeholder:[String] 提供可描述输入字段预期值的提示信息/占位符
point: [Boolean] 是否显示小数点
value: [String] 初始值
slot/插槽
<!-- 单位 -->
<span slot='input-unit' >元</span>