index.js
function() {
        // The last component to be unmounted uninstalls the event listener.
        if (components.length == 0) {
            document.removeEventListener(EVENT_TYPE, dispatchEvent);
        }
        components.splice(components.indexOf(this), 1);
    }
function() {
        // The last component to be unmounted uninstalls the event listener.
        if (components.length == 0) {
            document.removeEventListener(EVENT_TYPE, dispatchEvent);
        }
        components.splice(components.indexOf(this), 1);
    }
function ( ) { // The last component to be unmounted uninstalls the event listener. if ( components . length == 0 ) { document . removeEventListener ( EVENT_TYPE , dispatchEvent ) ; } components . splice ( components . indexOf ( this ) , 1 ) ; }
Un-register for keyboard events.
Un - register for keyboard events .