SharedMapRevertible Class
Tracks a change on a shared map allows reverting it
Signature
export declare class SharedMapRevertible implements IRevertible
Implements: IRevertible
Constructors
| Constructor | Description |
|---|---|
| (constructor)(changed, map) | Constructs a new instance of the SharedMapRevertible class |
Methods
| Method | Return Type | Description |
|---|---|---|
| discard() | void | |
| revert() | void |
Constructor Details
(constructor)
Constructs a new instance of the SharedMapRevertible class
Signature
constructor(changed: IValueChanged, map: ISharedMap);
Parameters
| Parameter | Type | Description |
|---|---|---|
| changed | IValueChanged | |
| map | ISharedMap |
Method Details
discard
Signature
discard(): void;
revert
Signature
revert(): void;