class to handle keyboard interactions on a dojox.geo.charting.Map component.
The sections on the leading edge should receive the focus in response to a TAB event. Then use cursor keys to the peer sections. The cursor event should go the adjacent section in that direction. With the focus, the section zooms in upon SPACE. The map should zoom out on ESC. Finally, while it has the focus, the map should lose the focus on TAB.
Parameter | Type | Description |
---|---|---|
map | dojox/geo/charting/Map | the Map component this class provides touch navigation for. |
options | Object |
Optional An object defining additional configuration properties. Currently, only the enableZoom property of this object is taken into account to enable/disable the Map zooming capability. |
See the dojox/geo/charting/KeyboardInteractionSupport reference documentation for more information.
Parameter | Type | Description |
---|---|---|
up | undefined | |
down | undefined | |
left | undefined | |
right | undefined |
connects this keyboard support class to the Map component
disconnects any installed listeners
Handles a keydown event.
Parameter | Type | Description |
---|---|---|
e | KeyboardEvent | An event. |
Handles the onFocus event.
Parameter | Type | Description |
---|---|---|
e | Event | An event. |