A VDomModel for the NotebookTrust status item.

Hierarchy

Constructors

Properties

_activeCellTrusted: any
_deriveCellTrustState: any

Given a notebook model, figure out how many of the code cells are trusted.

_getAllState: any

Get the current state of the model.

_notebook: any
_onActiveCellChanged: any

When the active cell changes, update the trust state.

_onModelChanged: any

When the notebook model changes, update the trust state.

_totalCells: any
_triggerChange: any

Trigger a change in the renderer.

_trustedCells: any
stateChanged: Signal<NotebookTrustStatus.Model, void>

A signal emitted when any model state changes.

Accessors

  • get activeCellTrusted(): boolean
  • Whether the active cell is trusted.

    Returns boolean

  • get isDisposed(): boolean
  • Test whether the model is disposed.

    Returns boolean

  • get notebook(): Notebook
  • The current notebook for the model.

    Returns Notebook

  • set notebook(model): void
  • Parameters

    Returns void

  • get totalCells(): number
  • The total number of code cells in the current notebook.

    Returns number

  • get trustedCells(): number
  • The number of trusted code cells in the current notebook.

    Returns number

Methods

  • Dispose the model.

    Returns void

Generated using TypeDoc