diff --git a/docs/content/3.components/pin-input.md b/docs/content/3.components/pin-input.md index 2618ca93..cd33de16 100644 --- a/docs/content/3.components/pin-input.md +++ b/docs/content/3.components/pin-input.md @@ -177,6 +177,12 @@ props: :component-emits +When accessing the component via a template ref, you can use the following: + +| Name | Type | +| ---- | ---- | +| `inputsRef`{lang="ts-type"} | `Ref`{lang="ts-type"} | + ## Theme :component-theme diff --git a/src/runtime/components/PinInput.vue b/src/runtime/components/PinInput.vue index 01416e03..415a400a 100644 --- a/src/runtime/components/PinInput.vue +++ b/src/runtime/components/PinInput.vue @@ -37,6 +37,8 @@ export interface PinInputProps extends Pick @@ -50,7 +52,8 @@ export type PinInputEmits = PinInputRootEmits & {