短通知 + 上部消息

This commit is contained in:
limqhz
2022-12-12 18:05:49 +08:00
parent 44df516337
commit 0efe64d1bb
34 changed files with 1262 additions and 58 deletions

25
components/toast/toast.d.ts vendored Normal file
View File

@@ -0,0 +1,25 @@
/// <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;
detached(): void;
methods: {
show(options: ToastOptionsType): void;
hide(): void;
destroyed(): void;
};
}
export {};