OptionalxPerPixel?: number | (() => number)OptionalxValue?: Holder<number>OptionalyPerPixel?: number | (() => number)Amount by which to change yValue for each pixel the mouse moves vertically (default 1)
OptionalyValue?: Holder<number>If provided, xValue / yValue are not modified until this function returns true.
Called when the left mouse button is released without sufficient movement to initiate a drag.
Called after the left mouse button is clicked
Called when dragging starts (and the mouse pointer moved enough to detect that dragging started).
Called when dragging stops (and the mouse pointer moved enough to detect that dragging started), either because the left mouse button is released or the user pressed Escape or mouse capture was lost.
Optionalevent: PointerEvent | KeyboardEvent
Amount by which to change xValue for each pixel the mouse moves horizontally (default 1)