forked from opentiny/tiny-vue
27 lines
399 B
Vue
27 lines
399 B
Vue
<template>
|
|
<div class="demo-input">
|
|
<tiny-input type="textarea" v-model="textarea" autosize :hover-expand="true"></tiny-input>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import { Input } from '@opentiny/vue'
|
|
|
|
export default {
|
|
components: {
|
|
TinyInput: Input
|
|
},
|
|
data() {
|
|
return {
|
|
textarea: ''
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
.demo-input .tiny-textarea {
|
|
width: 400px;
|
|
}
|
|
</style>
|