Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IOutputModel

The interface for an output model.

Hierarchy

Implemented by

Index

Properties

Readonly changed

changed: ISignal<IOutputModel, void>

A signal emitted when the output model changes.

Readonly data

data: ReadonlyPartialJSONObject

The data associated with the model.

Readonly executionCount

executionCount: number

The execution count of the model.

Readonly metadata

metadata: ReadonlyPartialJSONObject

The metadata associated with the model.

Among others, it can include an attribute named fragment that stores a URI fragment identifier for the MIME resource.

trusted

trusted: boolean

Whether the output is trusted.

Readonly type

type: string

The output type.

Methods

dispose

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

    Returns void

setData

  • Set the data associated with the model.

    Notes

    Calling this function may trigger an asynchronous operation that could cause the renderer to be rendered with a new model containing the new data.

    Parameters

    Returns void

toJSON

  • toJSON(): IOutput
  • Serialize the model to JSON.

    Returns IOutput

Generated using TypeDoc