UndoRedo
A widget encapsulating undo/redo functionality for the project of a TaskBoard.
To make use of this, the project must be configured with a State Tracking Manager.
If inserted into a TaskBoard (such as into a tbar, or bbar), the project of the that TaskBoard will be used.
If this widget is to be used "standalone" (rendered into the DOM outside of a TaskBoard), this must be configured with a reference the TaskBoard.
There are three child widgets encapsulated which may be referenced through the widgetMap:
undoBtn- The button which operates the undo operationtransactionsCombo- A combobox into which is pushed the list of transactions,redoBtn- The button which operates the redo operation
The transactionsCombo may be configured away if only the buttons are required:
{
type : 'undoredo',
items : {
transactionsCombo : null
}
}
The example below illustrated how to embed an undoredo widget in the top toolbar of a TaskBoard:
No results
Properties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of UndoRedo class, or subclass thereof.
-
Identifies an object as an instance of UndoRedo class, or subclass thereof.