IPatchRecorder
mobx-state-tree - v5.4.2 › IPatchRecorder
Hierarchy
- IPatchRecorder
Index
Properties
Methods
Properties
inversePatches
• inversePatches: ReadonlyArray‹IJsonPatch›
Defined in src/core/mst-operations.ts:138
patches
• patches: ReadonlyArray‹IJsonPatch›
Defined in src/core/mst-operations.ts:137
recording
• recording: boolean
Defined in src/core/mst-operations.ts:140
reversedInversePatches
• reversedInversePatches: ReadonlyArray‹IJsonPatch›
Defined in src/core/mst-operations.ts:139
Methods
replay
▸ replay(target?
: IAnyStateTreeNode): void
Defined in src/core/mst-operations.ts:143
Parameters:
Name | Type |
---|---|
target? | IAnyStateTreeNode |
Returns: void
resume
▸ resume(): void
Defined in src/core/mst-operations.ts:142
Returns: void
stop
▸ stop(): void
Defined in src/core/mst-operations.ts:141
Returns: void
undo
▸ undo(target?
: IAnyStateTreeNode): void
Defined in src/core/mst-operations.ts:144
Parameters:
Name | Type |
---|---|
target? | IAnyStateTreeNode |
Returns: void