keyListener(e) {
    // get the correct handler for the key stroke
    let keyStrokeId = this._buildKeyStrokeId(e.which || e.keyCode, {
      ctrl: e.ctrlKey,
      alt: e.altKey,
      shift: e.shiftKey
    });

    let keyHandler = this._keyStrokes[keyStrokeId];
    if (keyHandler && keyHandler.cb) {
      keyHandler.cb(e);
    }
  }
/**
   * Key listener for keyboard events
   *
   * @param {object} e
   *              keyboard event
   */
Key listener for keyboard events
@param {object} e
keyboard event
Key listener for keyboard events @param { object } e keyboard event
keyListener(e) {
    let keyStrokeId = this._buildKeyStrokeId(e.which || e.keyCode, {
      ctrl: e.ctrlKey,
      alt: e.altKey,
      shift: e.shiftKey
    });
    let keyHandler = this._keyStrokes[keyStrokeId];
    if (keyHandler && keyHandler.cb) {
      keyHandler.cb(e);
    }
  }
keyListener ( e ) { let keyStrokeId = this . _buildKeyStrokeId ( e . which || e . keyCode , { ctrl : e . ctrlKey , alt : e . altKey , shift : e . shiftKey } ) ; let keyHandler = this . _keyStrokes [ keyStrokeId ] ; if ( keyHandler && keyHandler . cb ) { keyHandler . cb ( e ) ; } }
Key listener for keyboard events
 @param {object} e
              keyboard event
Key listener for keyboard events @param { object } e keyboard event
// get the correct handler for the key stroke