No olx and ol types for ol/interaction/DragBox

This commit is contained in:
ahocevar
2018-03-14 13:33:54 +01:00
parent 7c7e002ee4
commit 12581b6a77
13 changed files with 66 additions and 114 deletions
+8
View File
@@ -7,6 +7,14 @@ import {TRUE, FALSE} from '../functions.js';
import {WEBKIT, MAC} from '../has.js';
/**
* A function that takes an {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a
* `{boolean}`. If the condition is met, true should be returned.
*
* @typedef {function(module:ol/MapBrowserEvent~MapBrowserEvent): boolean} Condition
*/
/**
* Return `true` if only the alt-key is pressed, `false` otherwise (e.g. when
* additionally the shift-key is pressed).