Module type for BaseObject
This commit is contained in:
@@ -39,14 +39,14 @@ import {listen, unlistenByKey} from '../events.js';
|
||||
*
|
||||
* The main advantage of having this as a control rather than a simple separate
|
||||
* DOM element is that preventing propagation is handled for you. Controls
|
||||
* will also be `ol.Object`s in a `ol.Collection`, so you can use their
|
||||
* will also be `module:ol/Object~BaseObject`s in a `ol.Collection`, so you can use their
|
||||
* methods.
|
||||
*
|
||||
* You can also extend this base for your own control class. See
|
||||
* examples/custom-controls for an example of how to do this.
|
||||
*
|
||||
* @constructor
|
||||
* @extends {ol.Object}
|
||||
* @extends {module:ol/Object~BaseObject}
|
||||
* @implements {oli.control.Control}
|
||||
* @param {module:ol/control/Control~Options} options Control options.
|
||||
* @api
|
||||
|
||||
Reference in New Issue
Block a user