-
Notifications
You must be signed in to change notification settings - Fork 3
jaydson/jquery.rotate.js
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This plugin requires jQuery >= 1.4.3 Usage: ------ $('#myDiv').css('rotate', '90deg'); $('#myDiv').animate({rotate: '180deg'});bravo Good to know: ------------- The following line of code always returns computed rotation in radians $('#myDiv').css('rotate'); A radian to degree function is included, free of charge: $.rotate.radToDeg( Math.PI ) === 180 Limitations: ------------ - transformOrigin is not accessible - IE will often disappoint you (and there's nothing I can do about it)
About
A jQuery cssHooks adding a cross browser 'rotate' property to $.fn.css() and $.fn.animate().
Resources
Code of conduct
Security policy
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published