splash.ts 702 B

1234567891011121314151617181920212223242526272829
  1. // Copyright (c) Jupyter Development Team.
  2. // Distributed under the terms of the Modified BSD License.
  3. import { IDisposable } from '@lumino/disposable';
  4. import { Token } from '@lumino/coreutils';
  5. /* tslint:disable */
  6. /**
  7. * The main menu token.
  8. */
  9. export const ISplashScreen = new Token<ISplashScreen>(
  10. '@jupyterlab/apputils:ISplashScreen'
  11. );
  12. /* tslint:enable */
  13. /**
  14. * The interface for an application splash screen.
  15. */
  16. export interface ISplashScreen {
  17. /**
  18. * Show the application splash screen.
  19. *
  20. * @param light - Whether to show the light splash screen or the dark one.
  21. *
  22. * @returns A disposable used to clear the splash screen.
  23. */
  24. show(light?: boolean): IDisposable;
  25. }