UNPKG

vue-devui

Version:

DevUI components based on Vite and Vue3

13 lines (12 loc) 487 B
import { Slots, VNode } from 'vue'; export interface ModalOpenResult { hide(): void; } export declare abstract class CommonModalService<Options, Props> { anchorContainer: HTMLElement; constructor(anchorContainer: HTMLElement); abstract component(): string; abstract open(options: Partial<Options>): ModalOpenResult; protected renderModal(anchor: HTMLElement, props: Partial<Props>, children?: Slots): VNode; protected renderNull(anchor: HTMLElement): void; }