Skip to content
pixi-silk
GitHub repository
Interface

HistoryStep

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

One entry of the stack: a label and the commands it undoes together.

Properties#

PropertyModifierTypeDescriptionDefined in
commandsreadonlyreadonly Command[]Commands in the order they were recorded. Undo runs them in reverse.history.ts:43
labelreadonlystringThe transaction’s label, or the first command’s. Empty when neither has one.history.ts:41