mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-23 16:30:45 +01:00
feat(Input/Textarea): expose ref
This commit is contained in:
@@ -151,6 +151,10 @@ watch(() => modelValue, () => {
|
||||
nextTick(autoResize)
|
||||
})
|
||||
|
||||
defineExpose({
|
||||
textareaRef
|
||||
})
|
||||
|
||||
onMounted(() => {
|
||||
setTimeout(() => {
|
||||
autoResize()
|
||||
|
||||
Reference in New Issue
Block a user