SpinView.lockdirection

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

0|1

Specifies whether to allow a change in the spin direction in case of 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 affect if the spin set is 1D.

Properties

Optional.

Default

0

Example

lockdirection=1

On this page

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free