Options
All
  • Public
  • Public/Protected
  • All
Menu

A VDomModel for the NotebookTrust status item.

Hierarchy

Index

Constructors

constructor

Properties

Private _activeCellTrusted

_activeCellTrusted: any

Private _deriveCellTrustState

_deriveCellTrustState: any

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

Private _getAllState

_getAllState: any

Get the current state of the model.

Private _notebook

_notebook: any

Private _onActiveCellChanged

_onActiveCellChanged: any

When the active cell changes, update the trust state.

Private _onModelChanged

_onModelChanged: any

When the notebook model changes, update the trust state.

Private _totalCells

_totalCells: any

Private _triggerChange

_triggerChange: any

Trigger a change in the renderer.

Private _trustedCells

_trustedCells: any

Readonly stateChanged

stateChanged: Signal<Model, void>

A signal emitted when any model state changes.

Accessors

activeCellTrusted

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

    Returns boolean

isDisposed

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

    Returns boolean

notebook

  • The current notebook for the model.

    Returns Notebook

  • The current notebook for the model.

    Parameters

    Returns void

totalCells

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

    Returns number

trustedCells

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

    Returns number

Methods

dispose

  • dispose(): void
  • Dispose the model.

    Returns void

Generated using TypeDoc