The default (partial) configuration for the app.

interface IDefaultConfig {
    debug?: boolean;
    disableSubmit?: boolean;
    enableSolution?: boolean;
    errorHandler?: IErrorHandler;
    helpLink?: string;
    hideBusyUntilInteraction?: boolean;
    hideExerciseId?: boolean;
    highContrast?: boolean | "auto";
    session: IBaseSessionConfig;
    storagePrefix?: string;
    theme?: IThemeName | "auto";
}

Hierarchy (view full)

Properties

debug?: boolean

Whether to enable debug mode.

disableSubmit?: boolean

Whether to disable the "submit" button.

enableSolution?: boolean

Whether the user has the option to populate the editor with the solution.

errorHandler?: IErrorHandler

An error handler run every time an internal error is caught and logged.

helpLink?: string

Markdown for rendering a help link in the cell's bottom right corner.

hideBusyUntilInteraction?: boolean

Hide the busy animation until this cell receives focus or a pointer press, or Run, Submit, or Interrupt is requested. Background startup is unchanged. Defaults to false. Status and error messages remain visible.

hideExerciseId?: boolean

Hide exercise ID from bottom left corner.

highContrast?: boolean | "auto"

Whether to enable, disable, or detect high contrast mode.

A base session configuration.

storagePrefix?: string

The prefix to use when loading/storing the last code run to LocalStorage.

theme?: IThemeName | "auto"

The name of the theme to load for the editor.