The options used to create a mime model.

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

Properties

callback?: ((options) => void)

A callback function for when the data changes.

Type declaration

The initial mime data.

The initial mime metadata.

trusted?: boolean

Whether the model is trusted. Defaults to false.