vuestic-ui
Version:
Vue 3 UI Framework
13 lines (12 loc) • 393 B
TypeScript
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;
};