Event Handlers
In this lesson, you’ll learn how to define and use event handlers in an Ember application.
In the Components chapter we got away with defining the event handler for DOM events inline using the set
helper. Here, however, we’ll need to define the actions ourselves.
Currently, since we haven’t written the actions, we get the following error:
Assertion failed: You must pass a function as the second argument to the
on
...
Access this course and 1400+ top-rated courses and projects.