docs_vue2/one/docs/demo/textarea/disabled.vue

47 lines
685 B
Vue
Raw Normal View History

2020-08-13 11:47:56 +08:00
<template>
<article>
<section>
<veui-checkbox v-model="disabled">
Disabled
</veui-checkbox>
</section>
<section>
<div>
<veui-textarea
:disabled="disabled"
value="Normal"
/>
</div>
<div>
<veui-textarea
:disabled="disabled"
ui="s"
value="Small"
/>
</div>
</section>
</article>
</template>
<script>
import { Textarea, Checkbox } from 'veui'
export default {
components: {
'veui-textarea': Textarea,
'veui-checkbox': Checkbox
},
data () {
return {
disabled: true
}
}
}
</script>
<style lang="less" scoped docs>
section {
margin-bottom: 1em;
}
</style>