The options used to create a mime model.

interface IOptions {
    callback?: (options: IRenderMime.IMimeModel.ISetDataOptions) => void;
    data?: ReadonlyPartialJSONObject;
    metadata?: ReadonlyPartialJSONObject;
    trusted?: boolean;
}

Properties

callback?: (options: IRenderMime.IMimeModel.ISetDataOptions) => void

A callback function for when the data changes.

The initial mime data.

The initial mime metadata.

trusted?: boolean

Whether the model is trusted. Defaults to false.