0.1.4 • Published 4 years ago

@roylee1997/vue-js-input v0.1.4

Weekly downloads
-
License
-
Repository
-
Last release
4 years ago

vue-js-input

Github Example ( In src folder )

https://github.com/1997roylee/vue-js-input

Npm

https://www.npmjs.com/package/@roylee1997/vue-js-input

Command

For Install npm

$ npm i @roylee1997/vue-js-input

Run Project

$ npm install
$ npm run serve

Example

Setup:

import VInputComponent from '../projects/InputComponent/index.js'
Vue.use(VInputComponent)

Usage:

<v-input
    outline
    :value="Value"
    @input="updateValue"
    @focus="onFocus"
    @blur="onBlur"
    size="small"
></v-input>

Props

PropTypeComment
widthNumberdefault 200px
valueStringbinding value
typeString'text', 'url', 'email', 'password', 'search'
errorStringdisplay error messages
roundedStringborder radius of Input, 'none', 'small', 'full'
sizeStringsize of Input, 'small', 'medium'
labelStringlabel text
placeholderStringplaceholder of Input
outlineFunctionoutline style
disabledFunctiondisabled
fieldFunctionfield style
fullFunctionfull width style
@inputFunctionInput event
@focusFunctionFocus event
@blurFunctionBlur event
0.1.4

4 years ago

0.1.32

5 years ago

0.1.3

5 years ago

0.1.25

5 years ago

0.1.23

5 years ago

0.1.22

5 years ago

0.1.21

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago