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