Chapter 5. Ember Controllers

In this chapter, we'll cover the following recipes:

  • Storing application properties
  • Handling actions in controllers
  • Working with transitions
  • Managing dependencies between controllers

Introduction

Controllers in Ember.js are similar to components. They can encapsulate code, handle actions, and have properties. In addition, controllers can transition to different parts of the application and retrieve information from other controllers.

In the near future, controllers will be completely replaced by components. However, until this happens, it's good to have some basic understanding on how controllers work.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset