mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-21 20:56:09 +03:00
Add rotateBy and rotateTo to the API
This commit is contained in:
parent
bfddf7355b
commit
84bbc27a17
@ -1022,7 +1022,7 @@ $.Viewport.prototype = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Rotates this viewport by the angle specified. Alias for setRotation to be consistent with with pan and zoom API
|
* Rotates this viewport by the angle specified.
|
||||||
* @function
|
* @function
|
||||||
* @param {Number} degrees The degrees by which to rotate the viewport.
|
* @param {Number} degrees The degrees by which to rotate the viewport.
|
||||||
* @param {Boolean} [immediately=false] Whether to animate to the new angle
|
* @param {Boolean} [immediately=false] Whether to animate to the new angle
|
||||||
|
Loading…
Reference in New Issue
Block a user