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

@@ -43,11 +43,13 @@ import {listen, unlistenByKey} from '../events.js';
* You can also extend this base for your own control class. See
* examples/custom-controls for an example of how to do this.
*
* @constructor
* @param {module:ol/control/Control~Options} options Control options.
* @api
*/
class Control extends BaseObject {
/**
* @param {module:ol/control/Control~Options} options Control options.
*/
constructor(options) {
super();