|
%!s(int64=9) %!d(string=hai) anos | |
---|---|---|
.. | ||
src | %!s(int64=9) %!d(string=hai) anos | |
README.md | %!s(int64=9) %!d(string=hai) anos | |
cooking.conf.js | %!s(int64=9) %!d(string=hai) anos | |
index.js | %!s(int64=9) %!d(string=hai) anos | |
package.json | %!s(int64=9) %!d(string=hai) anos |
A el-input component for Vue.js.
http://element-component.github.io/el-input
npm i el-input -D
import Vue from 'vue'
import ElInput from 'el-input'
import 'element-theme-default/dist/input.css'
Vue.use(ElInput)
or
import Vue from 'vue'
import { ElInput } from 'el-input'
Vue.component('el-input', ElInput)
name | description | type | default |
---|---|---|---|
model | 绑定值,需双向绑定 | string | number |
placeholder | 输入框占位文本 | string | |
suggestion | 输入建议 | string[] | |
disabled | 是否禁用 | boolean | false |
cache | 是否需要缓存 | boolean | false |
effect | 输入框效果,允许 text, number, special | string | text |
make dev
# test
make test
# build
make build