Class JupyterReactContentFactory

Extend the default implementation NotebookPanel.ContentFactory of IContentFactory.

Hierarchy

  • ContentFactory
    • JupyterReactContentFactory

Constructors

Properties

CellSidebar: ((props) => Element)

Type declaration

commands: CommandRegistry
nbgrader: boolean
notebookId: string
store: Store<any, AnyAction>

Accessors

  • get editorFactory(): Factory
  • The readonly editor factory that create code editors

    Returns Factory

Methods

  • Create a new cell footer for the parent widget.

    Returns ICellFooter

  • Create a new code cell widget.

    Notes

    If no cell content factory is passed in with the options, the one on the notebook content factory is used.

    Parameters

    • options: IOptions

    Returns CodeCell

  • Create an input prompt.

    Returns IInputPrompt

  • Create a new markdown cell widget.

    Notes

    If no cell content factory is passed in with the options, the one on the notebook content factory is used.

    Parameters

    • options: IOptions

    Returns MarkdownCell

  • Create a new content area for the panel.

    Parameters

    • options: IOptions

    Returns Notebook

  • Create the output prompt for the widget.

    Returns IOutputPrompt

  • Create a new raw cell widget.

    Notes

    If no cell content factory is passed in with the options, the one on the notebook content factory is used.

    Parameters

    • options: IOptions

    Returns RawCell

  • Create an stdin widget.

    Parameters

    • options: IOptions

    Returns IStdin

Generated using TypeDoc