@extclp/vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
12 lines (11 loc) • 472 B
TypeScript
import { App, ComputedRef, MaybeRef } from 'vue';
export declare const PROVIDED_Z_INDEX = "___vxp-provided-z-index";
export declare const globalZIndex: ComputedRef<number>;
/**
* Provide a z-index config for under components.
*
* @param sourceZIndex z-index config
* @param app the app of Vue, will use app.provide if specify
*/
export declare function configZIndex(sourceZIndex: MaybeRef<number>, app?: App): void;
export declare function useZIndex(): () => number;