SnapshotChangedEventΒΆ

Event that is fired when a snapshot has been changed.

It provides the ID of the snapshot and the updated properties, allowing listeners to react to the changes.

Use this event to monitor changes to snapshots, such as updates to their name, order, or thumbnail. This is particularly useful for keeping the UI or other components in sync with the latest snapshot state.

Hierarchy (View Summary)

Properties

id: number

The unique ID of the event.

properties: SnapshotProperties

An object with the changed properties.

snapshotID: number

The ID of the Snapshot.

transactionCode?: string

The transaction code associated with the event.

transactionID?: number

The transaction ID associated with the event.

type?: EventType

The type of the event.

Accessors

  • get order(): number
  • Returns number

    The order of the snapshot.

    order is deprecated, please use properties.order instead.

  • get screenshot(): string
  • Returns string

    The screenshot image (thumbnail) of the snapshot.

    screenshot is deprecated, please use properties.screenshot instead.

  • get text(): string
  • Returns string

    The name of the snapshot.

    text is deprecated, please use properties.name instead.