easyest-xqp
Version:
32 lines (31 loc) • 1.95 kB
TypeScript
export declare const Loading: import("utils-xqp").SFCInstallWithContext<{
install(app: import("@vue/runtime-core").App<any>): void;
directive: import("@vue/runtime-core").Directive<import("element-plus/es/components/loading/src/directive").ElementLoading, import("element-plus/es/components/loading/src/directive").LoadingBinding>;
service: (options?: Partial<Omit<import("element-plus").LoadingOptionsResolved, "target" | "parent"> & {
target: string | HTMLElement;
body: boolean;
}> | undefined) => {
setText: (text: string) => void;
removeElLoadingChild: () => void;
close: () => void;
handleAfterLeave: () => void;
vm: import("@vue/runtime-core").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("@vue/runtime-core").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
$el: HTMLElement;
originalPosition: import("@vue/reactivity").Ref<string>;
originalOverflow: import("@vue/reactivity").Ref<string>;
visible: import("@vue/reactivity").Ref<boolean>;
parent: import("@vue/reactivity").Ref<import("element-plus").LoadingParentElement>;
background: import("@vue/reactivity").Ref<string>;
svg: import("@vue/reactivity").Ref<string>;
svgViewBox: import("@vue/reactivity").Ref<string>;
spinner: import("@vue/reactivity").Ref<string | boolean>;
text: import("@vue/reactivity").Ref<string>;
fullscreen: import("@vue/reactivity").Ref<boolean>;
lock: import("@vue/reactivity").Ref<boolean>;
customClass: import("@vue/reactivity").Ref<string>;
target: import("@vue/reactivity").Ref<HTMLElement>;
beforeClose?: import("@vue/reactivity").Ref<(() => boolean) | undefined> | undefined;
closed?: import("@vue/reactivity").Ref<(() => void) | undefined> | undefined;
};
}>;
export default Loading;