UNPKG

hongluan-ui

Version:
28 lines (27 loc) 1.29 kB
import type { LoadingOptionsResolved } from './types'; export declare function createLoadingComponent(options: LoadingOptionsResolved): { removeLoadingChild: () => void; setText: (text: string) => void; close: () => void; handleAfterLeave: () => void; vm: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>; $el: HTMLElement; originalPosition: import("vue").Ref<string>; originalOverflow: import("vue").Ref<string>; visible: import("vue").Ref<boolean>; parent: import("vue").Ref<import("./types").LoadingParentElement>; background: import("vue").Ref<string>; svg: import("vue").Ref<string>; svgViewBox: import("vue").Ref<string>; spinner: import("vue").Ref<string | boolean | Record<string, any> | { [x: string]: any; }>; text: import("vue").Ref<string>; fullscreen: import("vue").Ref<boolean>; lock: import("vue").Ref<boolean>; customClass: import("vue").Ref<string>; target: import("vue").Ref<HTMLElement>; beforeClose?: import("vue").Ref<() => boolean>; closed?: import("vue").Ref<() => void>; }; export declare type LoadingInstance = ReturnType<typeof createLoadingComponent>;