Skip to content
pixi-silk
GitHub repository
Interface

HistoryState

import type { HistoryState } from 'pixi-silk/history';

The signals of a History.

Properties#

PropertyTypeDescriptionDefined in
canRedoReadSignal<boolean>True when redo() has a step to apply again.history.ts:57
canUndoReadSignal<boolean>True when undo() has a step to revert.history.ts:55
redoLabelReadSignal<string | null>Label of the step redo() applies again, or null.history.ts:61
undoLabelReadSignal<string | null>Label of the step undo() reverts, or null.history.ts:59