@neosjs/vitepress-theme
Version:
NeosJS VitePress theme
10 lines (9 loc) • 316 B
TypeScript
import { type Ref } from 'vue';
interface UseFlyoutOptions {
el: Ref<HTMLElement | undefined>;
onFocus?: () => void;
onBlur?: () => void;
}
export declare const focusedElement: Ref<HTMLElement | undefined>;
export declare function useFlyout(options: UseFlyoutOptions): Readonly<Ref<boolean>>;
export {};