first commit

This commit is contained in:
Blizzard
2026-03-05 09:08:21 +08:00
commit 0a61c4ddec
2189 changed files with 38610 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
/// <reference types="node" />
import { SuperComponent } from '../common/src/index';
import { ToastOptionsType } from './index';
declare type Timer = NodeJS.Timeout | null;
export default class Toast extends SuperComponent {
externalClasses: string[];
options: {
multipleSlots: boolean;
};
behaviors: string[];
hideTimer: Timer;
data: {
prefix: string;
classPrefix: string;
typeMapIcon: string;
};
properties: import("./type").TdToastProps;
lifetimes: {
detached(): void;
};
pageLifetimes: {
hide(): void;
};
methods: {
show(options: ToastOptionsType): void;
hide(): void;
destroyed(): void;
loop(): void;
};
}
export {};