UNPKG

531 BTypeScriptView Raw
1import { Token } from '@lumino/coreutils';
2import { IDisposable } from '@lumino/disposable';
3/**
4 * The main menu token.
5 */
6export declare const ISplashScreen: Token<ISplashScreen>;
7/**
8 * The interface for an application splash screen.
9 */
10export interface ISplashScreen {
11 /**
12 * Show the application splash screen.
13 *
14 * @param light - Whether to show the light splash screen or the dark one.
15 *
16 * @returns A disposable used to clear the splash screen.
17 */
18 show(light?: boolean): IDisposable;
19}