Save 45% for a limited time.

Get access to all courses and lessons on egghead today.

Autoplay

    Add user interaction to Ember.js apps using actions

    Iheanyi EkechukwuIheanyi Ekechukwu

    In Ember.js, functions that are executed through user interaction with your application are called actions, which can be defined at the route, controller, or component level. In this tutorial, we look at a simple example of defining actions on the controller and hooking it up to our template in order to update properties on the controller.

    emberEmber.js
    Code

    Code

    Become a Member to view code

    You must be a Member to view code

    Access all courses and lessons, track your progress, gain confidence and expertise.

    Become a Member
    and unlock code for this lesson
    Discuss

    Discuss