input.vue
992 Bytes
<template>
<div style="width: 100px;">
<Input autocomplete="on" v-model="value1" size="large" placeholder="large size"></Input>
<br>
<Input v-model="value2" placeholder="default size"></Input>
<br>
<Input v-model="value3" size="small" placeholder="small size"></Input>
<br>
<Input v-model="value1" size="large" placeholder="large size" icon="ios-clock-outline"></Input>
<br>
<Input v-model="value2" placeholder="default size" icon="ios-clock-outline"></Input>
<br>
<Input v-model="value3" size="small" placeholder="small size" icon="ios-clock-outline"></Input>
<br>
<Input v-model="obj.test" type="textarea" autosize></Input>
</div>
</template>
<script>
export default {
data () {
return {
value1: '',
value2: '',
value3: '',
obj: {
}
}
}
}
</script>