Class NotebookModelFactory

A model factory for notebooks.

Hierarchy

  • NotebookModelFactory

Implements

Constructors

Properties

_collaborative: any
_disableDocumentWideUndoRedo: any

Defines if the document can be undo/redo.

_disposed: any

Accessors

  • get collaborative(): boolean
  • Whether the model is collaborative or not.

    Returns boolean

  • get contentType(): string
  • The content type of the file.

    Returns string

  • get disableDocumentWideUndoRedo(): boolean
  • Experimental Alpha

    Define the disableDocumentWideUndoRedo property.

    Returns boolean

  • set disableDocumentWideUndoRedo(disableDocumentWideUndoRedo): void
  • Parameters

    • disableDocumentWideUndoRedo: boolean

    Returns void

  • get isDisposed(): boolean
  • Get whether the model factory has been disposed.

    Returns boolean

  • get name(): string
  • The name of the model.

    Returns string

Methods

  • Dispose of the model factory.

    Returns void

  • Get the preferred kernel language given a path.

    Parameters

    • path: string

    Returns string

Generated using TypeDoc