Open this page in the API Guide
InputService.onEscape Method
Register the handler to handle when they press the escape key.
Parameters
- controlContainer
-
Type: HTMLElement
The HTML element to bind a handler to.
- onEscapeHandler
-
Type: function
The handler.