More precise Event typing

This commit is contained in:
Frederic Junod
2018-06-29 10:09:10 +02:00
parent 8c4c70e9f0
commit 6da2e4cef4
9 changed files with 33 additions and 33 deletions

View File

@@ -256,7 +256,7 @@ Attribution.prototype.updateElement_ = function(frameState) {
/**
* @param {Event} event The event to handle
* @param {MouseEvent} event The event to handle
* @private
*/
Attribution.prototype.handleClick_ = function(event) {

View File

@@ -136,7 +136,7 @@ inherits(FullScreen, Control);
/**
* @param {Event} event The event to handle
* @param {MouseEvent} event The event to handle
* @private
*/
FullScreen.prototype.handleClick_ = function(event) {

View File

@@ -498,7 +498,7 @@ OverviewMap.prototype.calculateCoordinateRotate_ = function(
/**
* @param {Event} event The event to handle
* @param {MouseEvent} event The event to handle
* @private
*/
OverviewMap.prototype.handleClick_ = function(event) {

View File

@@ -113,7 +113,7 @@ inherits(Rotate, Control);
/**
* @param {Event} event The event to handle
* @param {MouseEvent} event The event to handle
* @private
*/
Rotate.prototype.handleClick_ = function(event) {

View File

@@ -98,7 +98,7 @@ inherits(Zoom, Control);
/**
* @param {number} delta Zoom delta.
* @param {Event} event The event to handle
* @param {MouseEvent} event The event to handle
* @private
*/
Zoom.prototype.handleClick_ = function(delta, event) {

View File

@@ -227,7 +227,7 @@ export function render(mapEvent) {
/**
* @param {Event} event The browser event to handle.
* @param {MouseEvent} event The browser event to handle.
* @private
*/
ZoomSlider.prototype.handleContainerClick_ = function(event) {

View File

@@ -68,7 +68,7 @@ inherits(ZoomToExtent, Control);
/**
* @param {Event} event The event to handle
* @param {MouseEvent} event The event to handle
* @private
*/
ZoomToExtent.prototype.handleClick_ = function(event) {