UNPKG

v-dialogs

Version:

A simple command-style pop-up dialog components for Vue3

34 lines (31 loc) 706 B
import { DialogBaseOptions, MessageDialog } from './base' export declare interface MaskOptions extends DialogBaseOptions { /** * The element that mask append to * @default `body` */ appendTo?: string /** * Pill style border * @default true */ pill?: boolean /** * Display spinner icon * @default true */ icon?: boolean /** * Display the content panel * @default true */ panel?: boolean } /** * Display a overlay mask * @param message - The message to display * @param callback - respond the dialog close * @param options - custom options * @returns the method to close dialog */ export declare const DialogMask: typeof MessageDialog<MaskOptions>