SpinView.lockdirection 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 section-65be9301796240e38f31818229da7acc

Optional.

Default section-bd374ffc5182484faa77a7a3c8fa70f2

0

Example section-bd6c4249bccf44aab13fee8552f5a8b3

lockdirection=1

recommendation-more-help
b7426f53-aad9-4c00-83fc-664f30f681e8