import type { RecordSignalsOptions } from 'pixi-silk/history';
Options of recordSignals.
Properties#
| Property | Type | Description | Defined in |
|---|
clone? | (value: unknown) => unknown | Copies a value before it is stored, for mutable objects. Default none (values are kept as they are). | history.ts:308 |
label? | string | Label of the recorded steps. Default “Edit”. | history.ts:301 |
mode? | "patch" | "snapshot" | patch (default) stores the signals that changed. snapshot stores every tracked signal, for values that depend on each other. | history.ts:306 |