UNPKG

996 BTypeScriptView Raw
1export interface RotateStrings {
2 flipVertical: string;
3 flipHorizontal: string;
4 rotateLeft: string;
5 rotateRight: string;
6}
7export interface RotateSettings {
8 /**
9 * Enable/Disable rotate option
10 */
11 rotate: boolean;
12 /**
13 * Rotate speed in milliseconds
14 */
15 rotateSpeed: number;
16 /**
17 * Enable rotate left.
18 */
19 rotateLeft: boolean;
20 /**
21 * Enable rotate right.
22 */
23 rotateRight: boolean;
24 /**
25 * Enable flip horizontal.
26 */
27 flipHorizontal: boolean;
28 /**
29 * Enable flip vertical.
30 */
31 flipVertical: boolean;
32 /**
33 * Custom translation strings for aria-labels
34 */
35 rotatePluginStrings: RotateStrings;
36}
37export declare const rotateSettings: {
38 rotate: boolean;
39 rotateSpeed: number;
40 rotateLeft: boolean;
41 rotateRight: boolean;
42 flipHorizontal: boolean;
43 flipVertical: boolean;
44 rotatePluginStrings: RotateStrings;
45};