Options for creating a RunningSessions item.

interface IOptions {
    onClick: () => void;
    onKeyDown: (event: KeyboardEvent<HTMLImageElement>) => void;
    serviceManager: ServiceManager.IManager;
    showKernels?: boolean;
    showTerminals?: boolean;
    translator?: ITranslator;
}

Properties

onClick: () => void

A click handler for the item. By default this is used to activate the running sessions side panel.

onKeyDown: (event: KeyboardEvent<HTMLImageElement>) => void

A key down handler for the item. By default this is used to activate the running sessions side panel.

serviceManager: ServiceManager.IManager

The application service manager.

showKernels?: boolean

Whether to show kernels, true by default.

showTerminals?: boolean

Whether to show terminals.

The default is true if one or more terminals are open, false otherwise.

translator?: ITranslator

The application language translator.