UNPKG

vuestic-ui

Version:
13 lines (12 loc) 393 B
import { ExtractPropTypes, Ref } from 'vue'; export declare const useFocusableProps: { /** Focus element when mounted */ autofocus: { type: BooleanConstructor; default: boolean; }; }; export declare const useFocusable: (el: Ref<HTMLElement | null | undefined>, props: ExtractPropTypes<typeof useFocusableProps>) => { focus: () => void; blur: () => void; };