onDocumentKeyDown(e) {
    if (e.keyCode === 27) { // ESC
      this.close();
    }
  }
/**
   * Keydown handler for the document.
   * @param {KeyboardEvent} e
   */
Keydown handler for the document.
Keydown handler for the document .
onDocumentKeyDown(e) {
    if (e.keyCode === 27) { 
      this.close();
    }
  }
onDocumentKeyDown ( e ) { if ( e . keyCode === 27 ) { this . close ( ) ; } }
Keydown handler for the document.
Keydown handler for the document .
// ESC