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

47 lines
680 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>
2021-09-15 20:03:51 +08:00
<style lang="less" scoped>
2020-08-13 11:47:56 +08:00
section {
margin-bottom: 1em;
}
</style>