dist/lumx.js
function keyEvent(evt) {
            if (evt.keyCode !== 8) {
                lxSelect.activeSelectedIndex = -1;
            }

            if (!LxDropdownService.isOpen('dropdown-' + lxSelect.uuid)) {
                lxSelect.activeChoiceIndex = -1;
            }

            switch (evt.keyCode) {
                case 8:
                    _keyRemove();
                    break;

                case 13:
                    _keySelect();
                    evt.preventDefault();
                    break;

                case 37:
                    if (lxSelect.activeChoiceIndex > -1) {
                        _keyLeft();
                        evt.preventDefault();
                    }
                    break;

                case 38:
                    _keyUp();
                    evt.preventDefault();
                    break;

                case 39:
                    if (lxSelect.activeChoiceIndex > -1) {
                        _keyRight();
                        evt.preventDefault();
                    }
                    break;


                case 40:
                    _keyDown();
                    evt.preventDefault();
                    break;

                default:
                    break;
            }
        }
function keyEvent(evt) {
            if (evt.keyCode !== 8) {
                lxSelect.activeSelectedIndex = -1;
            }

            if (!LxDropdownService.isOpen('dropdown-' + lxSelect.uuid)) {
                lxSelect.activeChoiceIndex = -1;
            }

            switch (evt.keyCode) {
                case 8:
                    _keyRemove();
                    break;

                case 13:
                    _keySelect();
                    evt.preventDefault();
                    break;

                case 37:
                    if (lxSelect.activeChoiceIndex > -1) {
                        _keyLeft();
                        evt.preventDefault();
                    }
                    break;

                case 38:
                    _keyUp();
                    evt.preventDefault();
                    break;

                case 39:
                    if (lxSelect.activeChoiceIndex > -1) {
                        _keyRight();
                        evt.preventDefault();
                    }
                    break;


                case 40:
                    _keyDown();
                    evt.preventDefault();
                    break;

                default:
                    break;
            }
        }
function keyEvent ( evt ) { if ( evt . keyCode !== 8 ) { lxSelect . activeSelectedIndex = - 1 ; } if ( ! LxDropdownService . isOpen ( 'dropdown-' + lxSelect . uuid ) ) { lxSelect . activeChoiceIndex = - 1 ; } switch ( evt . keyCode ) { case 8 : _keyRemove ( ) ; break ; case 13 : _keySelect ( ) ; evt . preventDefault ( ) ; break ; case 37 : if ( lxSelect . activeChoiceIndex > - 1 ) { _keyLeft ( ) ; evt . preventDefault ( ) ; } break ; case 38 : _keyUp ( ) ; evt . preventDefault ( ) ; break ; case 39 : if ( lxSelect . activeChoiceIndex > - 1 ) { _keyRight ( ) ; evt . preventDefault ( ) ; } break ; case 40 : _keyDown ( ) ; evt . preventDefault ( ) ; break ; default : break ; } }
Handle a key press event

@param {Event} evt The key press event.
Handle a key press event