Augmentable interface containing the default key handlers methods (defined in the Key Map)

This interface is used to supply key handlers defintiions to Component unless CustomKeyHandlers is augmented.

This interface itself may be augmented in order to add new key names, while preserving the default ones.

See Key Handling for more information.

interface DefaultKeyHandlers {
    _captureBack(e: KeyboardEvent): boolean | void;
    _captureBackRelease(e: KeyboardEvent): boolean | void;
    _captureDown(e: KeyboardEvent): boolean | void;
    _captureDownRelease(e: KeyboardEvent): boolean | void;
    _captureEnter(e: KeyboardEvent): boolean | void;
    _captureEnterRelease(e: KeyboardEvent): boolean | void;
    _captureExit(e: KeyboardEvent): boolean | void;
    _captureExitRelease(e: KeyboardEvent): boolean | void;
    _captureLeft(e: KeyboardEvent): boolean | void;
    _captureLeftRelease(e: KeyboardEvent): boolean | void;
    _captureRight(e: KeyboardEvent): boolean | void;
    _captureRightRelease(e: KeyboardEvent): boolean | void;
    _captureUp(e: KeyboardEvent): boolean | void;
    _captureUpRelease(e: KeyboardEvent): boolean | void;
    _handleBack(e: KeyboardEvent): boolean | void;
    _handleBackRelease(e: KeyboardEvent): boolean | void;
    _handleDown(e: KeyboardEvent): boolean | void;
    _handleDownRelease(e: KeyboardEvent): boolean | void;
    _handleEnter(e: KeyboardEvent): boolean | void;
    _handleEnterRelease(e: KeyboardEvent): boolean | void;
    _handleExit(e: KeyboardEvent): boolean | void;
    _handleExitRelease(e: KeyboardEvent): boolean | void;
    _handleLeft(e: KeyboardEvent): boolean | void;
    _handleLeftRelease(e: KeyboardEvent): boolean | void;
    _handleRight(e: KeyboardEvent): boolean | void;
    _handleRightRelease(e: KeyboardEvent): boolean | void;
    _handleUp(e: KeyboardEvent): boolean | void;
    _handleUpRelease(e: KeyboardEvent): boolean | void;
}

Methods