An options object for initializing a base cell widget.

interface IOptions {
    contentFactory: Cell.IContentFactory;
    editorConfig?: Record<string, any>;
    editorExtensions?: Extension[];
    inputHistoryScope?: "global" | "session";
    layout?: CodeCellLayout;
    maxNumberOutputs?: number;
    model: ICodeCellModel;
    placeholder?: boolean;
    rendermime: IRenderMimeRegistry;
    translator?: ITranslator;
}

Hierarchy (view full)

Properties

contentFactory: Cell.IContentFactory

The factory object for customizable cell children.

editorConfig?: Record<string, any>

The configuration options for the text editor widget.

editorExtensions?: Extension[]

Editor extensions to be added.

inputHistoryScope?: "global" | "session"

Whether to split stdin line history by kernel session or keep globally accessible.

Code cell layout.

maxNumberOutputs?: number

The maximum number of output items to display in cell output.

The model used by the cell.

placeholder?: boolean

Whether this cell is a placeholder for future rendering.

The mime renderer for the cell widget.

translator?: ITranslator

The application language translator.