Interface IOutputModel

The interface for an output model.

interface IOutputModel {
    changed: ISignal<IOutputModel, void>;
    data: ReadonlyPartialJSONObject;
    executionCount: ExecutionCount;
    metadata: ReadonlyPartialJSONObject;
    trusted: boolean;
    type: string;
    dispose(): void;
    setData(options): void;
    toJSON(): IOutput;

Hierarchy (view full)

Implemented by


changed: ISignal<IOutputModel, void>

A signal emitted when the output model changes.

The data associated with the model.

executionCount: ExecutionCount

The execution count of the model.

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: boolean

Whether the output is trusted.

type: string

The output type.


  • Set the data associated with the model.


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

    Returns void