You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
602 B
14 lines
602 B
1 month ago
|
import type { InjectionKey, Ref } from 'vue';
|
||
|
export interface ElZIndexInjectionContext {
|
||
|
current: number;
|
||
|
}
|
||
|
export declare const defaultInitialZIndex = 2000;
|
||
|
export declare const ZINDEX_INJECTION_KEY: InjectionKey<ElZIndexInjectionContext>;
|
||
|
export declare const zIndexContextKey: InjectionKey<Ref<number | undefined>>;
|
||
|
export declare const useZIndex: (zIndexOverrides?: Ref<number>) => {
|
||
|
initialZIndex: import("vue").ComputedRef<number>;
|
||
|
currentZIndex: import("vue").ComputedRef<number>;
|
||
|
nextZIndex: () => number;
|
||
|
};
|
||
|
export declare type UseZIndexReturn = ReturnType<typeof useZIndex>;
|