An options object for initializing a base cell widget.

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

Hierarchy (view full)


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.

layout?: PanelLayout

Cell widget 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.

showEditorForReadOnlyMarkdown?: boolean

Show editor for read-only Markdown cells.

translator?: ITranslator

The application language translator.