Module type for ol.pointer.EventSource
This commit is contained in:
@@ -37,7 +37,7 @@ import EventSource from '../pointer/EventSource.js';
|
||||
/**
|
||||
* @param {module:ol/pointer/PointerEventHandler~PointerEventHandler} dispatcher Event handler.
|
||||
* @constructor
|
||||
* @extends {ol.pointer.EventSource}
|
||||
* @extends {module:ol/pointer/EventSource~EventSource}
|
||||
*/
|
||||
const MouseSource = function(dispatcher) {
|
||||
const mapping = {
|
||||
|
||||
@@ -37,7 +37,7 @@ import EventSource from '../pointer/EventSource.js';
|
||||
/**
|
||||
* @param {module:ol/pointer/PointerEventHandler~PointerEventHandler} dispatcher Event handler.
|
||||
* @constructor
|
||||
* @extends {ol.pointer.EventSource}
|
||||
* @extends {module:ol/pointer/EventSource~EventSource}
|
||||
*/
|
||||
const MsSource = function(dispatcher) {
|
||||
const mapping = {
|
||||
|
||||
@@ -37,7 +37,7 @@ import EventSource from '../pointer/EventSource.js';
|
||||
/**
|
||||
* @param {module:ol/pointer/PointerEventHandler~PointerEventHandler} dispatcher Event handler.
|
||||
* @constructor
|
||||
* @extends {ol.pointer.EventSource}
|
||||
* @extends {module:ol/pointer/EventSource~EventSource}
|
||||
*/
|
||||
const NativeSource = function(dispatcher) {
|
||||
const mapping = {
|
||||
|
||||
@@ -70,7 +70,7 @@ const PointerEventHandler = function(element) {
|
||||
this.eventMap_ = {};
|
||||
|
||||
/**
|
||||
* @type {Array.<ol.pointer.EventSource>}
|
||||
* @type {Array.<module:ol/pointer/EventSource~EventSource>}
|
||||
* @private
|
||||
*/
|
||||
this.eventSourceList_ = [];
|
||||
@@ -147,7 +147,7 @@ PointerEventHandler.prototype.registerSources = function() {
|
||||
* Add a new event source that will generate pointer events.
|
||||
*
|
||||
* @param {string} name A name for the event source
|
||||
* @param {ol.pointer.EventSource} source The source event.
|
||||
* @param {module:ol/pointer/EventSource~EventSource} source The source event.
|
||||
*/
|
||||
PointerEventHandler.prototype.registerSource = function(name, source) {
|
||||
const s = source;
|
||||
|
||||
@@ -41,7 +41,7 @@ import {POINTER_ID} from '../pointer/MouseSource.js';
|
||||
* @constructor
|
||||
* @param {module:ol/pointer/PointerEventHandler~PointerEventHandler} dispatcher The event handler.
|
||||
* @param {ol.pointer.MouseSource} mouseSource Mouse source.
|
||||
* @extends {ol.pointer.EventSource}
|
||||
* @extends {module:ol/pointer/EventSource~EventSource}
|
||||
*/
|
||||
const TouchSource = function(dispatcher, mouseSource) {
|
||||
const mapping = {
|
||||
|
||||
Reference in New Issue
Block a user