Module type for ol.pointer.PointerEventHandler

This commit is contained in:
Frederic Junod
2018-04-20 08:44:01 +02:00
parent 15f57538e7
commit a43b90056b
6 changed files with 9 additions and 10 deletions

View File

@@ -2,14 +2,13 @@
* @module ol/pointer/EventSource
*/
/**
* @param {ol.pointer.PointerEventHandler} dispatcher Event handler.
* @param {!Object.<string, function(Event)>} mapping Event
* mapping.
* @param {module:ol/pointer/PointerEventHandler~PointerEventHandler} dispatcher Event handler.
* @param {!Object.<string, function(Event)>} mapping Event mapping.
* @constructor
*/
const EventSource = function(dispatcher, mapping) {
/**
* @type {ol.pointer.PointerEventHandler}
* @type {module:ol/pointer/PointerEventHandler~PointerEventHandler}
*/
this.dispatcher = dispatcher;