Skip to main content

Home > @jsplumbtoolkit/core > JsPlumbToolkit > openTransaction

JsPlumbToolkit.openTransaction() method#

Opens a transaction.

Signature:

openTransaction(cleanupAction?: TransactionCleanupAction): void;

Parameters#

ParameterTypeDescription
cleanupActionTransactionCleanupActionWhat to do if a transaction already exists. If you supply nothing, or an inappropriate value, here and there is a current transaction, then an Error is thrown.

Returns:

void