## Escape event Triggered when the escape key is pressed within an Element. **Syntax:** `element.on(...)` - `event` ('escape') **required** The name of the event. In this case, `escape`. - `handler` (function) **required** `handler(event) => void` is a **callback function** that you provide that will be called when the event is fired. ### Handle an Element escape event ```js element.on('escape', function(event) { // Handle escape event }); ``` ```es_next element.on('escape', (event) => { // Handle escape event }); ```