Extends
Constructor
new ve.ui.HistoryAction(surface, [source])
#
Hierarchy
History action.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
surface |
ve.ui.Surface | Surface to act on |
|
source |
string |
optional |
History action.
Methods
redo() → {boolean}
#
Step forwards in time.
Returns:
Action was executed
- Type
- boolean
Step forwards in time.
undo() → {boolean}
#
Step backwards in time.
Returns:
Action was executed
- Type
- boolean
Step backwards in time.