search

Class goog.ui.KeyboardShortcutHandler

Provided By
Extends
All Implemented Interfaces

Component for handling keyboard shortcuts. A shortcut is registered and bound to a specific identifier. Once the shortcut is triggered an event is fired with the identifier for the shortcut. This allows keyboard shortcuts to be customized without modifying the code that listens for them.

Supports keyboard shortcuts triggered by a single key, a stroke stroke (key plus at least one modifier) and a sequence of keys or strokes.

new KeyboardShortcutHandler( keyTarget )

Parameters
keyTarget(goog.events.EventTarget|EventTarget|null)

Event target that the key event listener is attached to, typically the applications root container.

Instance Methods

Instance Properties

Static Functions

Static Properties

Classes

Enumerations

Type Definitions