@opensig/opendesign
Version:
<p align="center"><img src="../docs/public/opendesign-logo-light.png"/></p> <h1 align="center">opendesign</h1> <p align="center">一个 Vue 3 组件库</p> <p align="center"><b>皮肤可定制,使用 TypeScript</b></p>
65 lines (64 loc) • 1.47 kB
TypeScript
import { ExtractPropTypes } from 'vue';
export declare const loadingProps: {
/**
* loading文本
*/
label: {
type: StringConstructor;
};
/**
* loading图标
*/
icon: {
type: ObjectConstructor;
};
/**
* loading图标是否旋转
*/
iconRotating: {
type: BooleanConstructor;
};
visible: {
type: BooleanConstructor;
default: boolean;
};
wrapper: {
type: import('vue').PropType<string | HTMLElement | null>;
default: string;
};
unmountOnHide: {
type: BooleanConstructor;
default: boolean;
};
mainClass: {
type: import('vue').PropType<string | any[]>;
default: string;
};
mainTransition: {
type: StringConstructor;
default: string;
};
maskTransition: {
type: StringConstructor;
default: string;
};
transitionOrign: {
type: import('vue').PropType<"mouse" | "css">;
default: string;
};
mask: {
type: BooleanConstructor;
default: boolean;
};
buttonClose: {
type: BooleanConstructor;
default: boolean;
};
beforeShow: {
type: import('vue').PropType<() => Promise<boolean> | boolean>;
};
beforeHide: {
type: import('vue').PropType<() => Promise<boolean> | boolean>;
};
};
export type LoadingPropsT = ExtractPropTypes<typeof loadingProps>;