magic-vue-input
v1.1.0
Published
Tired of ordinary inputs? Try this interesting one.
Downloads
11
Maintainers
Readme
Install
npm install magic-vue-input -s
Quick Start
import MagicVueInput from 'magic-vue-input'
Preview
How to use
<MagicVueInput v-model='msg' placeholder='Name' type='password' color='red'></MagicVueInput>
Props
| Name | Value | Des |
|--------|------|------|
| value
| Any | The value of your input |
| placeholder
| String,Number | The placeholder when your input value is none |
| type
| String: 'text' or 'passwrod' | Only support text & password |
| maxlength
| Number | Longest number of your input text |
| textColor
| String: hash string color | Color of input text |
| lineColor
| String: hash string color | Color of bottom line |
| closeBtnColor
| String: hash string color | Color of the colse button |
| placeholderColor
| String: hash string color | Color of placeholder |
| fontSize
| Number | Font size of text |
| textOffsetBot
| Number | Vertical offset of text |