Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AttachmentModel

The default implementation of a notebook attachment model.

Hierarchy

  • AttachmentModel

Implements

Index

Constructors

constructor

  • Construct a new attachment model.

    Parameters

    Returns AttachmentModel

Properties

Private _changed

_changed: any

Private _data

_data: any

Private _raw

_raw: any

Private _rawData

_rawData: any

Private _updateObservable

_updateObservable: any

Update an observable JSON object using a readonly JSON object.

Readonly trusted

trusted: boolean

Whether the data in the model is trusted.

Accessors

changed

  • get changed(): ISignal<this, void>
  • A signal emitted when the attachment model changes.

    Returns ISignal<this, void>

data

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

    Returns ReadonlyPartialJSONObject

metadata

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

    Returns ReadonlyPartialJSONObject

Methods

dispose

  • dispose(): void
  • Dispose of the resources used by the attachment model.

    Returns void

setData

  • 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

    Returns void

toJSON

Generated using TypeDoc