@christtrade/depth 0.17.0 → 0.19.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.
@@ -98,8 +98,9 @@ export type TradeLine = {
98
98
  preview?: boolean;
99
99
  movable?: boolean;
100
100
  locked?: boolean;
101
- /** Called when user finishes dragging (mouseup). New price passed in. */
101
+ /** Called on every move while dragging, with the price under the pointer. */
102
102
  onMove?: (newPrice: number) => void;
103
+ /** Called when the drag ends, with the final price. Skipped if it ended where it started. */
103
104
  afterMove?: (newPrice: number) => void;
104
105
  /** Called when user clicks the x button */
105
106
  onClose?: () => void;