Module type for MapEvent

This commit is contained in:
Tim Schaub
2018-03-18 09:48:06 -06:00
parent 393df3faf3
commit 0edbfde4d3
7 changed files with 14 additions and 14 deletions

View File

@@ -14,7 +14,7 @@ import {listen, unlistenByKey} from '../events.js';
* @property {Element|undefined} element The element is the control's
* container element. This only needs to be specified if you're developing
* a custom control.
* @property {function(ol.MapEvent)|undefined} render Function called when
* @property {function(module:ol/MapEvent~MapEvent)|undefined} render Function called when
* the control should be re-rendered. This is called in a `requestAnimationFrame`
* callback.
* @property {Element|string|undefined} target Specify a target if you want
@@ -80,7 +80,7 @@ const Control = function(options) {
this.listenerKeys = [];
/**
* @type {function(ol.MapEvent)}
* @type {function(module:ol/MapEvent~MapEvent)}
*/
this.render = options.render ? options.render : UNDEFINED;