src/js/view/clipboard.js
function(ev) {
        var gridEvent;

        if (this.isLocked) {
            ev.preventDefault();

            return;
        }

        gridEvent = keyEvent.generate(ev);

        if (!gridEvent) {
            return;
        }

        this._lock();

        if (shouldPreventDefault(gridEvent)) {
            ev.preventDefault();
        }

        if (!isPasteEvent(gridEvent)) {
            this.domEventBus.trigger(gridEvent.type, gridEvent);
        }
    }
function(ev) {
        var gridEvent;

        if (this.isLocked) {
            ev.preventDefault();

            return;
        }

        gridEvent = keyEvent.generate(ev);

        if (!gridEvent) {
            return;
        }

        this._lock();

        if (shouldPreventDefault(gridEvent)) {
            ev.preventDefault();
        }

        if (!isPasteEvent(gridEvent)) {
            this.domEventBus.trigger(gridEvent.type, gridEvent);
        }
    }
function ( ev ) { var gridEvent ; if ( this . isLocked ) { ev . preventDefault ( ) ; return ; } gridEvent = keyEvent . generate ( ev ) ; if ( ! gridEvent ) { return ; } this . _lock ( ) ; if ( shouldPreventDefault ( gridEvent ) ) { ev . preventDefault ( ) ; } if ( ! isPasteEvent ( gridEvent ) ) { this . domEventBus . trigger ( gridEvent . type , gridEvent ) ; } }
Event handler for the keydown event
@param {Event} ev - Event
@private
Event handler for the keydown event