@barchart/chart-lib 2.254.3 → 2.255.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1844,6 +1844,12 @@ declare module "@barchart/chart-lib" {
1844
1844
  undo(): void;
1845
1845
  /** Does again the last change undone to an annotation */
1846
1846
  redo(): void;
1847
+ /** Pause the undo/redo mechanism */
1848
+ pauseUndoRedo();
1849
+ /** Resume the undo/redo mechanism
1850
+ * @param acceptLastChange Apply the last change while the undo/redo was paused
1851
+ * */
1852
+ resumeUndoRedo(acceptLastChange: boolean);
1847
1853
  /** Starts (or resets) the interactive zoom */
1848
1854
  zoom(zoomIn: boolean);
1849
1855
  /** Resets the chart to default template and re-applies current main plot */