Options
All
  • Public
  • Public/Protected
  • All
Menu

Module IAttachmentModel

The namespace for IAttachmentModel sub-interfaces.

Hierarchy

  • IMimeModel
    • IAttachmentModel

Implemented by

Index

Properties

changed

changed: ISignal<this, void>

A signal emitted when the attachment model changes.

data

data: ReadonlyJSONObject

The data associated with the model.

metadata

metadata: ReadonlyJSONObject

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

trusted: boolean

Whether the data in the model is trusted.

Methods

dispose

  • dispose(): void

setData

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

    Notes

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

    Parameters

    • options: ISetDataOptions

    Returns void

toJSON

  • toJSON(): IMimeBundle

Generated using TypeDoc