The options used to create a Launcher.

interface IOptions {
    callback: ((widget) => void);
    commands: CommandRegistry;
    cwd: string;
    model: ILauncher.IModel;
    translator?: ITranslator;


callback: ((widget) => void)

The callback used when an item is launched.

Type declaration

    • (widget): void
    • Parameters

      Returns void

commands: CommandRegistry

The command registry used by the launcher.

cwd: string

The cwd of the launcher.

The model of the launcher.

translator?: ITranslator

The application language translation.