Options
All
  • Public
  • Public/Protected
  • All
Menu

An implementation of a notebook Model. The namespace for the NotebookModel class statics.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Private _cells

_cells: CellList

Private _nbformat

_nbformat: number = nbformat.MAJOR_VERSION

Private _nbformatMinor

_nbformatMinor: number = nbformat.MINOR_VERSION

contentFactory

contentFactory: IContentFactory

The cell model factory for the notebook.

modelDB

modelDB: IModelDB

The underlying IModelDB instance in which model data is stored.

Static defaultContentFactory

defaultContentFactory: ContentFactory = new ContentFactory({})

The default ContentFactory instance.

Accessors

cells

contentChanged

  • get contentChanged(): ISignal<this, void>

defaultKernelLanguage

  • get defaultKernelLanguage(): string

defaultKernelName

  • get defaultKernelName(): string

dirty

  • get dirty(): boolean
  • set dirty(newValue: boolean): void

isDisposed

  • get isDisposed(): boolean

metadata

mimeType

  • get mimeType(): string
  • set mimeType(newValue: string): void

mimeTypeChanged

  • get mimeTypeChanged(): ISignal<this, IChangedArgs<string>>

nbformat

  • get nbformat(): number

nbformatMinor

  • get nbformatMinor(): number

readOnly

  • get readOnly(): boolean
  • set readOnly(newValue: boolean): void

selections

stateChanged

value

Methods

Private _ensureMetadata

  • _ensureMetadata(): void

Private _onCellsChanged

dispose

  • dispose(): void

fromJSON

fromString

  • fromString(value: string): void

toJSON

toString

  • toString(): string

Protected triggerContentChange

  • triggerContentChange(): void

Protected triggerStateChange

Generated using TypeDoc