Handling Events
You can respond to user events on your component like double-clicking, hovering, and key presses through event handlers. Simply implement the name of the event you want to respond to as a method on your component.
For example, imagine we have a template like this:
{{#double-clickable}}
This is a double clickable area!
{{/double-clickable}}
Let's implement double-clickable such that when it is clicked, an alert is displayed:
app/components/double-clickable.js
import Ember fr