HistoryState
import type { HistoryState } from 'pixi-silk/history';
The signals of a History.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
canRedo | ReadSignal<boolean> | True when redo() has a step to apply again. | history.ts:57 |
canUndo | ReadSignal<boolean> | True when undo() has a step to revert. | history.ts:55 |
redoLabel | ReadSignal<string | null> | Label of the step redo() applies again, or null. | history.ts:61 |
undoLabel | ReadSignal<string | null> | Label of the step undo() reverts, or null. | history.ts:59 |