textmode.js
Version:
textmode.js is a lightweight creative coding library for creating real-time ASCII art on the web.
18 lines (17 loc) • 487 B
TypeScript
export type TransitionType = 'none' | 'fade';
/**
* Handles loading screen transitions.
* @ignore
*/
export declare class LoadingScreenTransition {
private _transitionStartTime;
private _transitionOpacity;
private _transitionType;
private _transitionDuration;
constructor(transitionType: TransitionType, transitionDuration: number);
get $opacity(): number;
get $isTransitioning(): boolean;
$start(): void;
$update(): boolean;
$reset(): void;
}