You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

82 lines
2.0 KiB

import { SuperComponent } from '../common/src/index';
import type { TdLoadingProps } from './type';
export interface LoadingProps extends TdLoadingProps {
}
export default class Loading extends SuperComponent {
externalClasses: string[];
data: {
prefix: string;
classPrefix: string;
show: boolean;
};
options: {
multipleSlots: boolean;
};
properties: {
style?: {
type: StringConstructor;
value?: string;
};
delay?: {
type: NumberConstructor;
value?: number;
};
duration?: {
type: NumberConstructor;
value?: number;
};
externalClasses?: {
type: ArrayConstructor;
value?: ["t-class", "t-class-text", "t-class-indicator"];
};
indicator?: {
type: BooleanConstructor;
value?: boolean;
};
inheritColor?: {
type: BooleanConstructor;
value?: boolean;
};
layout?: {
type: StringConstructor;
value?: "horizontal" | "vertical";
};
loading?: {
type: BooleanConstructor;
value?: boolean;
};
pause?: {
type: BooleanConstructor;
value?: boolean;
};
progress?: {
type: NumberConstructor;
value?: number;
};
reverse?: {
type: BooleanConstructor;
value?: boolean;
};
size?: {
type: StringConstructor;
value?: string;
};
text?: {
type: StringConstructor;
value?: string;
};
theme?: {
type: StringConstructor;
value?: "error" | "circular" | "spinner" | "bar" | "dots";
};
};
timer: any;
observers: {
loading(this: any, cur: any): void;
};
lifetimes: {
detached(): void;
};
refreshPage(): void;
}