Class: KeyboardNavigationHandler

Highcharts. KeyboardNavigationHandler

new KeyboardNavigationHandler(chart, options)

Define a keyboard navigation handler for use with a Highcharts.AccessibilityComponent instance. This functions as an abstraction layer for keyboard navigation, and defines a map of keyCodes to handler functions.

参数:
名字 类型 详情
chart Highcharts.Chart

The chart this module should act on.

options Highcharts.KeyboardNavigationHandlerOptionsObject

Options for the keyboard navigation handler.

依赖:
  • module:modules/accessibility
在线示例

依赖

  • module:modules/accessibility