Improvement to view docs

This commit is contained in:
Éric Lemoine
2014-11-10 12:48:43 +01:00
parent 1df7f6c2c7
commit 96f8a806a6
2 changed files with 11 additions and 4 deletions

View File

@@ -474,7 +474,9 @@ olx.ViewOptions.prototype.constrainRotation;
/**
* Enable rotation. Default is `true`.
* Enable rotation. Default is `true`. If `false` a rotation constraint that
* always sets the rotation to zero is used. The `constrainRotation` option
* has no effect if `enableRotation` is `false`.
* @type {boolean|undefined}
* @api
*/