SpinView.lockdirection

[SpinView.|<containerId>_spinView.]lockdirection=0|1

0|1

Specifies whether to allow a change in the spin direction if there is a 2D spin set.

When set to 1 , the component identifies the primary drag or swipe direction (horizontal versus vertical) at the start of the gesture. After that, it maintains that direction until the gesture ends. For example, if the user starts a horizontal spin and then decides to continue their drag gesture in a vertical direction, the component does not perform a vertical spin. Instead, it considers only the horizontal movement of the mouse or swipe.

A value of 0 lets a user change the spin direction at any time during the gesture progress. The setting has no effect if the spin set is 1D.

Properties

Optional.

Default

0

Example

lockdirection=1

On this page