HistoryStep
import type { HistoryStep } from 'pixi-silk/history';
One entry of the stack: a label and the commands it undoes together.
Properties#
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
commands | readonly | readonly Command[] | Commands in the order they were recorded. Undo runs them in reverse. | history.ts:43 |
label | readonly | string | The transaction’s label, or the first command’s. Empty when neither has one. | history.ts:41 |