Viewer transaction support.

Hierarchy

  • IViewerTransactionSupport

Implemented by

Methods

  • Called when parent viewer requests confirm and apply changes, usually when the Ctrl+Enter or Enter key is pressed.

    Returns boolean | void | Promise<boolean | void>

  • Called when parent viewer requests cancel changes, usually when the ESCAPE key is pressed.

    Returns boolean | void | Promise<boolean | void>

  • Undo viewer transaction step. Return true if undo operation is consumed.

    Returns boolean | void

  • Redo viewer transaction step. Return true if redo operation is consumed.

    Returns boolean | void