Interface
PriceLineDragEvent
The user drags a price line (draggable). While 'moving' its options do
not change; 'dropped' (released) means they hold the new price: to refuse
it, set from again with applyOptions. 'cancelled' (Escape, a
cancelled pointer, or released at the old price) leaves the old one.
Properties
| Name | Type | Description |
|---|---|---|
id | number |
|
phase | 'moving' | 'dropped' | 'cancelled' | |
from | number | The price before the drag. |
price | number | The price now. |
Declaration
export interface PriceLineDragEvent {
id: number;
phase: 'moving' | 'dropped' | 'cancelled';
from: number;
price: number;
}