1.0.16 • Published 5 years ago
scq-input v1.0.16
Quick Start
scq-input for vue
install Setup
# install dependencies
npm install scq-input -S
main.js
import scqinput from 'scq-input'
import 'scq-input/dist/scq-input.min.css'
components:{
scqinput
}
Attribute
name | type | default | explain |
---|---|---|---|
type | String | 'text' | text,password |
classname | String | fluorescence,moved | |
re | String | email,qq,phone,idcard,zipcode,chinese |
Event
name | param | explain |
---|---|---|
onblur | flag,value | if're'is empty and returns only value |
oninput | flag,value | if're'is empty and returns only value |
onenter | value,event |