Move jsdoc constructor comments for controls

This commit is contained in:
Frederic Junod
2018-07-17 16:44:33 +02:00
parent e1e5e54d74
commit f140ff368d
10 changed files with 41 additions and 22 deletions
+4 -2
View File
@@ -31,11 +31,13 @@ import EventType from '../events/EventType.js';
* To style this control use css selector `.ol-rotate`. A `.ol-hidden` css
* selector is added to the button when the rotation is 0.
*
* @constructor
* @param {module:ol/control/Rotate~Options=} opt_options Rotate options.
* @api
*/
class Rotate extends Control {
/**
* @param {module:ol/control/Rotate~Options=} opt_options Rotate options.
*/
constructor(opt_options) {
const options = opt_options ? opt_options : {};