UNPKG

@volverjs/ui-vue

Version:

@volverjs/ui-vue is a lightweight Vue 3 component library to accompany @volverjs/style.

5 lines (4 loc) 359 B
import type { MaybeElement, MaybeElementRef } from '@vueuse/core'; export declare function useComponentFocus(inputTemplateRef: MaybeElementRef<MaybeElement>, emit: ((name: 'blur', ...args: any[]) => void) & ((name: 'focus', ...args: any[]) => void) & ((name: any, ...args: any[]) => void)): { focused: globalThis.WritableComputedRef<boolean, boolean>; };