Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IContentFactory

A factory for creating notebook content.

Notes

This extends the content factory of the cell itself, which extends the content factory of the output area and input area. The result is that there is a single factory for creating all child content of a notebook.

Hierarchy

Implemented by

Index

Properties

editorFactory

editorFactory: CodeEditor.Factory

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

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

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 an output prompt.

    Returns IOutputPrompt

createRawCell

createStdin

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

    Parameters

    • options: IOptions

    Returns IStdin

Generated using TypeDoc