Interface IContentFactory

The factory object for customizable cell children.

This is used to allow users of cells to customize child content.

This inherits from OutputArea.IContentFactory to avoid needless nesting and provide a single factory object for all notebook/cell/outputarea related widgets.

interface IContentFactory {
    editorFactory: Factory;
    createCellFooter(): ICellFooter;
    createCellHeader(): ICellHeader;
    createInputPrompt(): IInputPrompt;
    createOutputPrompt(): IOutputPrompt;
    createStdin(options): IStdin;

Hierarchy (view full)

Implemented by


editorFactory: Factory

The editor factory we need to include in CodeEditorWrapper.IOptions.

This is a separate readonly attribute rather than a factory method as we need to pass it around.