Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OutputModel

The default implementation of a notebook output model.

Hierarchy

Implements

Index

Constructors

constructor

  • Construct a new output model.

    Parameters

    Returns OutputModel

Properties

Private _changed

_changed: any

Private _data

_data: any

Private _metadata

_metadata: any

Private _raw

_raw: any

Private _rawData

_rawData: any

Private _rawMetadata

_rawMetadata: any

Private _updateObservable

_updateObservable: any

Update an observable JSON object using a readonly JSON object.

Readonly executionCount

executionCount: number

The execution count.

Readonly trusted

trusted: boolean

Whether the model is trusted.

Readonly type

type: string

The output type.

Accessors

changed

  • get changed(): ISignal<this, void>
  • A signal emitted when the output model changes.

    Returns ISignal<this, void>

data

  • get data(): ReadonlyPartialJSONObject
  • The data associated with the model.

    Returns ReadonlyPartialJSONObject

metadata

  • get metadata(): ReadonlyPartialJSONObject
  • The metadata associated with the model.

    Returns ReadonlyPartialJSONObject

Methods

dispose

  • dispose(): void
  • Dispose of the resources used by the output model.

    Returns void

setData

  • Set the data associated with the model.

    Notes

    Depending on the implementation of the mime model, this call may or may not have deferred effects,

    Parameters

    Returns void

toJSON

  • Serialize the model to JSON.

    Returns IOutput

Generated using TypeDoc