sci-pro
Version:
35 lines (34 loc) • 917 B
TypeScript
import type { MaybeRef } from '@vueuse/core';
export declare type LoadingOptions = {
parent?: HTMLElement;
/**
* @description background color of the mask
*/
background?: MaybeRef<string>;
svg?: MaybeRef<string>;
svgViewBox?: MaybeRef<string>;
/**
* @description class name of the custom spinner
*/
spinner?: MaybeRef<boolean | string>;
/**
* @description loading text that displays under the spinner
*/
text?: MaybeRef<string>;
/**
* @description same as the `fullscreen` modifier of `v-loading`
*/
fullscreen?: boolean;
/**
* @description same as the `lock` modifier of `v-loading`
*/
lock?: boolean;
/**
* @description custom class name for Loading
*/
customClass?: MaybeRef<string>;
visible?: boolean;
target?: HTMLElement;
beforeClose?: () => boolean;
closed?: () => void;
};