3.4.0 • Published 7 years ago
@nylira/vue-input v3.4.0
vue-input
Flexible input field component for Vue 2.
Installation
npm install @nylira/vue-input
Usage
<template>
<field v-model="email" placeholder="Enter your email"></field>
</template>
<script>
import Field from '@nylira/vue-input'
export default {
components: {
Field
},
data () {
return {
email: ''
}
}
}
</script>
<style>
.ni-field {
width: 320px;
}
</style>
Props
value=""
// The value of the input field, also can be used with v-model
// Options: Any valid string
placeholder=""
// The input field placeholder
// Options: Any valid string
size=""
// Chanage the size of the input field
// Options: "lg", "sm"
required
// Self-explanatory
theme="tendermint"
// Adds a custom input field theme
// Options: "tendermint"
type="text"
// Input field type (mainly used for HTML forms)
// Options: "text", "email", "tel", "num", "password", "textarea"
3.4.0
7 years ago
3.3.0
7 years ago
3.2.1
7 years ago
3.2.0
7 years ago
3.1.2
7 years ago
3.1.1
7 years ago
3.1.0
7 years ago
3.0.5
7 years ago
3.0.4
7 years ago
3.0.3
7 years ago
3.0.2
7 years ago
3.0.1
7 years ago
3.0.0
7 years ago
2.1.2
7 years ago
2.1.1
7 years ago
2.1.0
7 years ago
2.0.2
7 years ago
2.0.1
7 years ago
2.0.0
7 years ago
1.5.1
7 years ago
1.5.0
7 years ago
1.4.0
7 years ago
1.3.0
7 years ago
1.2.5
7 years ago
1.2.4
7 years ago
1.2.3
7 years ago
1.2.2
7 years ago
1.2.1
7 years ago
1.2.0
7 years ago
1.1.5
7 years ago
1.1.4
7 years ago
1.1.3
7 years ago
1.1.2
7 years ago
1.1.1
7 years ago
1.1.0
7 years ago
1.0.0
7 years ago