File tree 1 file changed +31
-4
lines changed
1 file changed +31
-4
lines changed Original file line number Diff line number Diff line change @@ -11,19 +11,46 @@ A jQuery UI Widget which rotates any element by using CSS transform rotate(). In
11
11
- Compatible with other jQuery UI widgets included Draggable and Resizable
12
12
- Compatible with Dave Furfero's jQuery UI Touch Punch
13
13
- All angles in degrees
14
- - AlsoRotate extension
14
+ - "alsoRotate" extension (under construction)
15
+ - "animate" extension (under construction)
15
16
16
17
### Requirements
17
- .
18
+ - jQuery UI
18
19
19
20
### CDN
20
21
.
21
22
22
23
### Options
23
- .
24
+
25
+
26
+ {
27
+ disabled: false,
28
+ angle: 0,
29
+ handle: true,
30
+ handleElementSelector: '<div></div>',
31
+ rotationOriginPosition: {
32
+ top: null,
33
+ left: null
34
+ },
35
+ snap: false,
36
+ snapStep: 22.5,
37
+ rotate: function (event, ui) {}, // callback while rotating
38
+ start: function (event, ui) {}, // callback when rotation starts
39
+ stop: function (event, ui) {}, // callback when rotation stops
40
+ wheel: true,
41
+ wheelStep: 7.5
42
+ }
43
+
44
+
24
45
25
46
### Used CSS Classes
26
- .
47
+
48
+
49
+ .ui-rotatable {}
50
+ .ui-rotatable-rotating {}
51
+ .ui-rotatable-handle {}
52
+
53
+
27
54
28
55
### Usages
29
56
You can’t perform that action at this time.
0 commit comments