SpinView.autospin

[SpinView.|<containerId>_spinView.]maxloadradius=0|1[, *duration*][, *direction*][, *spin_number*]

0|1

Enables or disables the automatic spin animation. To achieve the best auto spin experience it is recommended that you preload all frames by setting maxloadradius to -1. Note, however, that this results in increased load time and higher bandwidth usage.

duration

The number of seconds per one full spin.

direction

The spin direction which is 0 for spinning east and 1 for spinning west.

spin_number

The number of full rotations done before autospin stops. The number is a floating point number. Set to -1 for an infinite auto spin.

Properties

Optional.

Default

0,1,1,1

Example

autospin=1,2,-1,1

On this page