UNPKG

@daysnap/horn-use

Version:
13 lines (12 loc) 467 B
interface UseKeepAliveState { name: string; position: number; mode: 'auto' | 'custom'; } type UseKeepAliveByPositionOptions = Partial<Omit<UseKeepAliveState, 'position'>> | boolean; export declare const useKeepAliveByPosition: (options?: UseKeepAliveByPositionOptions) => { keepAliveList: import("vue").Ref<UseKeepAliveState[] | undefined>; includes: import("vue").ComputedRef<string[]>; keep: (data: UseKeepAliveState) => void; }; export {};