|
1 | | -# jquery-ui-rotatable |
2 | | -A jQuery UI Widget which rotates any element by using CSS transform rotate() |
| 1 | +# jQuery UI Rotatable Widget |
| 2 | +## jquery-ui-rotatable |
| 3 | + |
| 4 | +### About |
| 5 | +A jQuery UI Widget which rotates any element by using CSS transform rotate(). Inspired by jQuery UI Resizable Widget and Aidan Rogers's (godswearhats) jquery-ui-rotatable Widget |
| 6 | + |
| 7 | +### Features |
| 8 | +- Supports CSS 2D transforms (only 2D) |
| 9 | +- Rotation by mouse wheel |
| 10 | +- Rotation with/without handle |
| 11 | +- Compatible with other jQuery UI widgets included Draggable and Resizable |
| 12 | +- Compatible with Dave Furfero's jQuery UI Touch Punch |
| 13 | +- All angles in degrees |
| 14 | +- AlsoRotate extension |
| 15 | + |
| 16 | +### Requirements |
| 17 | +. |
| 18 | + |
| 19 | +### CDN |
| 20 | +. |
| 21 | + |
| 22 | +### Options |
| 23 | +. |
| 24 | + |
| 25 | +### Used CSS Classes |
| 26 | +. |
| 27 | + |
| 28 | +### Usages |
| 29 | + |
| 30 | + |
| 31 | + $('#foo .bar').rotatable(); |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + $('#foo .bar').resizable().rotatable().draggable(); |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + $('#foo .bar').rotatable({ angle: 30 }); |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | +### Demo |
| 46 | +(coming soon) |
| 47 | + |
| 48 | +### Thanks |
| 49 | +Thanks to jQuery UI Development Team (https://jqueryui.com/about/) |
| 50 | +Thanks to Aidan Rogers (https://github.com/godswearhats/jquery-ui-rotatable) |
| 51 | + |
| 52 | +### License |
| 53 | +Released under the MIT license, like jQuery |
| 54 | + |
| 55 | +### Authors |
| 56 | +Abdullah Pazarbasi http://www.abdullahpazarbasi.com |
0 commit comments