@mai3/phaser-sdk
Version:
A UI component library based on the Phaser game engine
17 lines • 584 B
TypeScript
import { Container } from './Container';
import { ToastConfig } from '../types';
import { BaseScene } from "../game";
export declare class Toast extends Container<ToastConfig> {
protected _config: ToastConfig;
private label?;
private tween?;
private autoHideTimer?;
constructor(scene: BaseScene, config: ToastConfig);
reDraw(): void;
private getStyleByType;
show(animationType?: string): void;
hide(animationType?: string): void;
close(animationType?: string): void;
destroy(fromScene?: boolean): void;
}
//# sourceMappingURL=Toast.d.ts.map