Skip to content

worldwind-ui API / worldwind-kit / attachKeyboardNavigation

Function: attachKeyboardNavigation() ​

attachKeyboardNavigation(globe, options?): Unsubscribe

Defined in: kit/src/keyboard.ts:102

Makes the globe's canvas keyboard-navigable: focusable, announced as an application, and driven by handleNavigationKey. GlobeController attaches this by default; pass keyboard: false in the globe options to opt out, or an options object to tune it.

Parameters ​

globe ​

GlobeController

options? ​

KeyboardNavigationOptions = {}

Returns ​

Unsubscribe

MIT licensed. Not affiliated with NASA; WorldWind is NASA's open-source virtual globe.