@inkline/inkline
Version:
Inkline is the intuitive UI Components library that gives you a developer-friendly foundation for building high-quality, accessible, and customizable Vue.js 3 Design Systems.
22 lines (21 loc) • 572 B
TypeScript
import type { Ref } from 'vue';
interface ModalInstance {
name: Ref<string>;
elementRef: Ref<HTMLElement | null>;
closeOnPressEscape: Ref<boolean>;
hide: () => void;
}
export declare const OverlayController: {
instances: {
[key: string]: any;
};
stack: string[];
zIndex: number;
register(instance: ModalInstance): void;
unregister(instance: ModalInstance): void;
open(name: string): void;
close(name: string): void;
getTopOverlay(): ModalInstance;
onPressEscape(): void;
};
export default OverlayController;