Class: KeyboardEvent

OM.event. KeyboardEvent


new KeyboardEvent(type, target)

The class defines all keyboard events that might occur inside the map, and
dispatched by the map or any visual map component.

Parameters:
Name Type Description
type String

The event type

target Object

The event target

Returns:

An object of KeyboardEvent

Type
OM.event.KeyboardEvent

Extends

Members


<static, constant> KEY_DOWN :String

Type:
  • String

<static, constant> KEY_UP :String

Type:
  • String

event :KeyboardEvent

The actual system keyboard event Object

Type:
  • KeyboardEvent

evt :Object

The original event, if applicable

Type:
  • Object
Inherited From:

target :Object

The component that dispatches the event.

Type:
  • Object
Inherited From:

type :String

Type of the event.

Type:
  • String
Inherited From: