Interface Settings

Represents the settings for tracking a specific property in the state for undo/redo operations.

Param

The path to the property in the state object. It is represented as an array of strings and numbers.

Param

(Optional) The maximum number of actions to keep in the undo/redo history. If not specified, all actions will be kept.

Param

(Optional) A filter function that determines whether an action should be included in the undo/redo history.

Hierarchy

  • Settings

Properties

Properties

filter?: (() => boolean)

Type declaration

    • (): boolean
    • Returns boolean

limit?: number
path: (string | number)[]

Generated using TypeDoc