0.6.9 • Published 8 years ago

pzvue-input v0.6.9

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

vue-input

install

npm install pzvue-input

Quick Start

import pzinput from 'pzvue-input'

in component

components: {
    pzinput
}

in template

<pzinput placeholder="@163.com" type="email" id="input4" value="">
     <template slot="prepend">email</template>
</pzinput>

<pzinput placeholder="请输入网址" type="email" id="input5" value="" size="larger">
     <template slot="prepend">http://</template>
     <template slot="append">.com</template>
</pzinput>

 <pzinput placeholder="请输入网址" type="email" id="input5" value="" icon="user-md"></pzinput>

  <pzinput placeholder="请输入网址" type="email" id="input5" value="不可用" icon="user-md" :disabled="true"></pzinput>

Attribute

参数说明类型可选值默认值
idinput的原生idstring
placeholder占位符string
valueinput的value值string0
typeinput的类型stringtext,email,number,password等text
disabled禁用booleantrue, falsefalse
sizeinput大小stringlarget,''
icon图标string''

Demo

http://vue.zuoyan.space/#/component/input

0.6.9

8 years ago

0.6.8

9 years ago

0.6.7

9 years ago

0.6.6

9 years ago

0.6.5

9 years ago

0.6.4

9 years ago

0.6.3

9 years ago

0.6.2

9 years ago

0.6.1

9 years ago

0.6.0

9 years ago