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

View File

@@ -41,11 +41,13 @@ const Direction = {
*
* map.addControl(new ZoomSlider());
*
* @constructor
* @param {module:ol/control/ZoomSlider~Options=} opt_options Zoom slider options.
* @api
*/
class ZoomSlider extends Control {
/**
* @param {module:ol/control/ZoomSlider~Options=} opt_options Zoom slider options.
*/
constructor(opt_options) {
const options = opt_options ? opt_options : {};