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
@@ -30,11 +30,13 @@ import {easeOut} from '../easing.js';
* This control is one of the default controls of a map. To style this control
* use css selectors `.ol-zoom-in` and `.ol-zoom-out`.
*
* @constructor
* @param {module:ol/control/Zoom~Options=} opt_options Zoom options.
* @api
*/
class Zoom extends Control {
/**
* @param {module:ol/control/Zoom~Options=} opt_options Zoom options.
*/
constructor(opt_options) {
const options = opt_options ? opt_options : {};