Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ContentFactory

The default implementation of an IContentFactory. A namespace for the staic notebook content factory. The default implementation of a notebook content factory.. A namespace for the notebook content factory.

Notes

Override methods on this class to customize the default notebook factory methods that create notebook content.

Hierarchy

Implements

Index

Constructors

constructor

  • Create a content factory for a cell.

    Parameters

    • Optional options: IOptions

    Returns ContentFactory

Properties

editorFactory

editorFactory: CodeEditor.Factory

The readonly editor factory that create code editors

Methods

createCellFooter

  • createCellFooter(): ICellFooter
  • Create a new cell header for the parent widget.

    Returns ICellFooter

createCellHeader

  • createCellHeader(): ICellHeader
  • Create a new cell header for the parent widget.

    Returns ICellHeader

createCodeCell

createInputPrompt

  • createInputPrompt(): IInputPrompt
  • Create an input prompt.

    Returns IInputPrompt

createMarkdownCell

  • createMarkdownCell(options: IOptions, parent: StaticNotebook): MarkdownCell

createOutputPrompt

  • createOutputPrompt(): IOutputPrompt
  • Create the output prompt for the widget.

    Returns IOutputPrompt

createRawCell

createStdin

  • createStdin(options: IOptions): IStdin
  • Create an stdin widget.

    Parameters

    • options: IOptions

    Returns IStdin

Generated using TypeDoc