Gets or sets a rotation angle of the user-selected file.

Syntax

JavaScript

Get/Set Value at Runtime

$au.uploader('uploaderID').files().get(index).angle(value);
value = $au.uploader('uploaderID').files().get(index).angle();

Property Value

Type: Number

The rotation angle of this file. Possible values are:

  • 0
  • 90
  • 180
  • 270

Remarks

Items can be rotated not only by the user, but also automatically, using the enableAutoRotation, and also by modifying this property.

Note

This property affects the file even if the rotation control is disabled (enableRotation is false).