A model for mime data.

interface IMimeModel {
    data: ReadonlyPartialJSONObject;
    metadata: ReadonlyPartialJSONObject;
    trusted: boolean;
    setData(options): void;
}

Properties

Methods

Properties

The data associated with 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 data in the model is trusted.

Methods