Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ContentFactory

The default implementation of an IContentFactory.

Hierarchy

  • ContentFactory
    • ContentFactory

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

createNotebook

  • createNotebook(options: IOptions): Notebook

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