dojox/geo/charting/KeyboardInteractionSupport (version 1.10)

Summary

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.

Usage

var foo = new KeyboardInteractionSupport(map,options);
dojox/geo/charting/KeyboardInteractionSupport
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.

Property Summary

Method Summary

Event Summary

  • onBlur() Handles the onBlur event.
  • onFocus(e) Handles the onFocus event.

Properties

Methods

_directTo(up,down,left,right)
Parameter Type Description
up undefined
down undefined
left undefined
right undefined
connect()

connects this keyboard support class to the Map component

disconnect()

disconnects any installed listeners

keydownHandler(e)

Handles a keydown event.

Parameter Type Description
e KeyboardEvent

An event.

Events

onBlur()

Handles the onBlur event.

onFocus(e)

Handles the onFocus event.

Parameter Type Description
e Event

An event.

Error in the documentation? Can’t find what you are looking for? Let us know!