Members
- 
    
module:ol/events/condition.altKeyOnly
 - 
    
    
Return
trueif only the alt-key is pressed,falseotherwise (e.g. when additionally the shift-key is pressed). - 
    
module:ol/events/condition.altShiftKeysOnly
 - 
    
    
Return
trueif only the alt-key and shift-key is pressed,falseotherwise (e.g. when additionally the platform-modifier-key is pressed). - 
    
module:ol/events/condition.always
 - 
    
    
Return always true.
 - 
    
module:ol/events/condition.click
 - 
    
    
Return
trueif the event is aclickevent,falseotherwise. - 
    
module:ol/events/condition.doubleClick
 - 
    
    
Return
trueif the event is a mapdblclickevent,falseotherwise. - 
    
module:ol/events/condition.focus
 - 
    
    
Return
trueif the map has the focus. This condition requires a map target element with atabindexattribute, e.g.<div id="map" tabindex="1">. - 
    
module:ol/events/condition.mouseOnly
 - 
    
    
Return
trueif the event originates from a mouse device. - 
    
module:ol/events/condition.never
 - 
    
    
Return always false.
 - 
    
module:ol/events/condition.noModifierKeys
 - 
    
    
Return
trueif no modifier key (alt-, shift- or platform-modifier-key) is pressed. - 
    
module:ol/events/condition.penOnly
 - 
    
    
Return
trueif the event originates from a digital pen. - 
    
module:ol/events/condition.platformModifierKeyOnly
 - 
    
    
Return
trueif only the platform-modifier-key (the meta-key on Mac, ctrl-key otherwise) is pressed,falseotherwise (e.g. when additionally the shift-key is pressed). - 
    
module:ol/events/condition.pointerMove
 - 
    
    
Return
trueif the browser event is apointermoveevent,falseotherwise. - 
    
module:ol/events/condition.primaryAction
 - 
    
    
Return
trueif the event originates from a primary pointer in contact with the surface or if the left mouse button is pressed. See http://www.w3.org/TR/pointerevents/#button-states. - 
    
module:ol/events/condition.shiftKeyOnly
 - 
    
    
Return
trueif only the shift-key is pressed,falseotherwise (e.g. when additionally the alt-key is pressed). - 
    
module:ol/events/condition.singleClick
 - 
    
    
Return
trueif the event is a mapsingleclickevent,falseotherwise. - 
    
module:ol/events/condition.targetNotEditable
 - 
    
    
Return
trueif the target element is not editable, i.e. not a<input>-,<select>- or<textarea>-element,falseotherwise. - 
    
module:ol/events/condition.touchOnly
 - 
    
    
Return
trueif the event originates from a touchable device. 
Type Definitions
- 
    
Condition()
events/condition.js, line 10 - 
    
    
A function that takes an
module:ol/MapBrowserEventand returns a{boolean}. If the condition is met, true should be returned. 
 OpenLayers