Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MimeModel

The default mime model implementation. The namespace for MimeModel class statics.

Hierarchy

  • MimeModel

Implements

  • IMimeModel

Index

Interfaces

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Private _callback

_callback: function

Type declaration

    • (options: ISetDataOptions): void
    • Parameters

      • options: ISetDataOptions

      Returns void

Private _data

_data: ReadonlyJSONObject

Private _metadata

_metadata: ReadonlyJSONObject

trusted

trusted: boolean

Whether the model is trusted.

Accessors

data

  • get data(): ReadonlyJSONObject
  • The data associated with the model.

    Returns ReadonlyJSONObject

metadata

  • get metadata(): ReadonlyJSONObject
  • The metadata associated with the model.

    Returns ReadonlyJSONObject

Methods

setData

  • setData(options: ISetDataOptions): void
  • Set the data associated with the model.

    Notes

    Depending on the implementation of the mime model, this call may or may not have deferred effects,

    Parameters

    • options: ISetDataOptions

    Returns void

Generated using TypeDoc