0
var params = {
// Callback fired on rotation start.
start: function(event, ui) {
},
// Callback fired during rotation.
rotate: function(event, ui) {
},
// Callback fired on rotation end.
stop: function(event, ui) {
//Need to get rotate degree
},
};
$('#target').rotatable(params);
我有一个页面使用jQuery UI的旋转的插件jQuery UI的旋转GET旋转程度,当它停止
我的问题是怎样才能得到用户的旋转程度,当它停下来?
;
https://github.com/godswearhats/jquery-ui-rotatable