Skip to content
pixi-silk
GitHub repository
Interface

RecordSignalsOptions

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

Options of recordSignals.

Properties#

PropertyTypeDescriptionDefined in
clone?(value: unknown) => unknownCopies a value before it is stored, for mutable objects. Default none (values are kept as they are).history.ts:308
label?stringLabel 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