メインコンテンツまでスキップ

Interface: ChangeGestureOptions

Defined in: dom/src/input/change-gesture.ts:4

Properties​

endDelay?​

optional endDelay?: number;

Defined in: dom/src/input/change-gesture.ts:16

How long after the last wheel notch or key press a gesture counts as over, in milliseconds. Neither has an event that says it is done, so the gesture ends when nothing more arrives for this long.

Default​

500

onEnd?​

optional onEnd?: (source) => void;

Defined in: dom/src/input/change-gesture.ts:8

Called after the last change of a gesture.

Parameters​

ParameterType
sourceChangeSource

Returns​

void


onStart?​

optional onStart?: (source) => void;

Defined in: dom/src/input/change-gesture.ts:6

Called before the first change of a gesture.

Parameters​

ParameterType
sourceChangeSource

Returns​

void