controls and interactions.

This commit is contained in:
Simon Seyock
2021-06-23 13:13:47 +02:00
committed by Andreas Hocevar
parent 3365576548
commit e9a161740a
10 changed files with 76 additions and 0 deletions
+7
View File
@@ -80,6 +80,13 @@ class FullScreen extends Control {
target: options.target,
});
/***
* @type {import("../Observable").OnSignature<import("../Observable").EventTypes|
* 'enterfullscreen'|'leavefullscreen', import("../events/Event.js").default> &
* import("../Observable").OnSignature<import("../ObjectEventType").Types, import("../Object").ObjectEvent>}
*/
this.on;
/**
* @private
* @type {string}
+7
View File
@@ -68,6 +68,13 @@ class MousePosition extends Control {
target: options.target,
});
/***
* @type {import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default> &
* import("../Observable").OnSignature<import("../ObjectEventType").Types|
* 'change:coordinateFormat'|'change:projection', import("../Object").ObjectEvent>}
*/
this.on;
this.addChangeListener(PROJECTION, this.handleProjectionChanged_);
if (options.coordinateFormat) {
+7
View File
@@ -90,6 +90,13 @@ class ScaleLine extends Control {
target: options.target,
});
/***
* @type {import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default> &
* import("../Observable").OnSignature<import("../ObjectEventType").Types|
* 'change:units', import("../Object").ObjectEvent>}
*/
this.on;
/**
* @private
* @type {HTMLElement}