ol.events.condition

Source:
  • condition.jsdoc, line 1

Members

<static> always

Stability: experimental

Always true.

Source:
  • condition.js, line 54

Methods

<static> altKeyOnly

Stability: experimental
Parameters:
Name Type Description
mapBrowserEvent ol.MapBrowserEvent

Map browser event.

Source:
  • condition.js, line 25
Returns:

True if only the alt key is pressed.

Type
boolean

<static> altShiftKeysOnly

Stability: experimental
Parameters:
Name Type Description
mapBrowserEvent ol.MapBrowserEvent

Map browser event.

Source:
  • condition.js, line 39
Returns:

True if only the alt and shift keys are pressed.

Type
boolean

<static> noModifierKeys

Stability: experimental
Parameters:
Name Type Description
mapBrowserEvent ol.MapBrowserEvent

Map browser event.

Source:
  • condition.js, line 72
Returns:

True only if there no modifier keys are pressed.

Type
boolean

<static> platformModifierKeyOnly

Stability: experimental
Parameters:
Name Type Description
mapBrowserEvent ol.MapBrowserEvent

Map browser event.

Source:
  • condition.js, line 86
Returns:

True if only the platform modifier key is pressed.

Type
boolean

<static> shiftKeyOnly

Stability: experimental
Parameters:
Name Type Description
mapBrowserEvent ol.MapBrowserEvent

Map browser event.

Source:
  • condition.js, line 100
Returns:

True if only the shift key is pressed.

Type
boolean

<static> targetNotEditable

Stability: experimental
Parameters:
Name Type Description
mapBrowserEvent ol.MapBrowserEvent

Map browser event.

Source:
  • condition.js, line 114
Returns:

True only if the target element is not editable.

Type
boolean