listenToKeyEvents method

dynamic listenToKeyEvents(
  1. dynamic domElement
)

Implementation

listenToKeyEvents(domElement) {
  domElement.addEventListener('keydown', onKeyDown);
  // this._domElementKeyEvents = domElement;
}