forked from opentiny/tiny-vue
27 lines
362 B
Vue
27 lines
362 B
Vue
<template>
|
|
<div class="demo-input">
|
|
<tiny-input v-model="input" autocomplete="on"></tiny-input>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import { Input } from '@opentiny/vue'
|
|
|
|
export default {
|
|
components: {
|
|
TinyInput: Input
|
|
},
|
|
data() {
|
|
return {
|
|
input: ''
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
.demo-input .tiny-input {
|
|
width: 250px;
|
|
}
|
|
</style>
|