tav-ui
Version:
13 lines (12 loc) • 451 B
TypeScript
import type { Ref } from 'vue';
import type { ComponentRef } from '../types';
export interface UseFullScreenContext {
wrapClassName: Ref<string | undefined>;
modalWrapperRef: Ref<ComponentRef>;
extHeightRef: Ref<number>;
}
export declare function useFullScreen(context: UseFullScreenContext): {
getWrapClassName: import("vue").ComputedRef<string>;
handleFullScreen: (e: Event) => void;
fullScreenRef: Ref<boolean, boolean>;
};