mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 07:53:48 +09:00
769 B
769 B
Loading
A VTextarea can be shown in a loading state. For that, you need to wrap
it inside a control element. Then, simply add the loading prop to the
wrapping <VControl /> component.
Please refer to the code example for more details about usage.
<script setup lang="ts">
const textarea = ref('')
const loading = ref(true)
</script>
<template>
<VField>
<VControl :loading="loading">
<VTextarea
v-model="textarea"
rows="4"
placeholder="A longer message..."
/>
</VControl>
</VField>
</template>