Copyable#willMergeMixin()

willMergeMixinprivate Defined in packages/ember-runtime/lib/mixins/controller_content_model_alias_deprecation.js:19 Available since 1.4.0

Core Concepts

Core Concepts Before you start writing any Ember code, it's a good idea to get an overview of how an Ember application works. Router and Route Handlers Imagine we are writing a web app for a site that lets users list their properties to rent. At any given time, we should be able to answer questions about the current state like What rental are they looking at? and Are they editing it? In Ember, the answer to these questions is determined by the URL. The URL can be set in a few ways: The user

Controllers

Introduction Controllers Controllers behave like a specialized type of Component that is rendered by the router when entering a Route. The controller receives a single property from the Route – model – which is the return value of the Route's model() method. To define a Controller, run: ember generate controller my-controller-name The value of my-controller-name must match the name of the Route that renders it. So a Route named blog-post would have a matching Controller named blog-post. You

ControllerMixin#_qpChanged()

_qpChangedprivate Defined in packages/ember-routing/lib/ext/controller.js:31

ControllerMixin#transitionToRoute()

transitionToRoute (name, models, options) public Defined in packages/ember-routing/lib/ext/controller.js:43 Transition the application into another route. The route may be either a single route or route path: aController.transitionToRoute('blogPosts'); aController.transitionToRoute('blogPosts.recentEntries'); Optionally supply a model for the route in question. The model will be serialized into the URL using the serialize hook of the route: aController.transitionToRoute('blogPost', aPost);

Copyable

Ember.Copyable Class PRIVATE Defined in: packages/ember-runtime/lib/mixins/copyable.js:12 Module: ember-runtime Implements some standard methods for copying an object. Add this mixin to any object you create that can create a copy of itself. This mixin is added automatically to the built-in array. You should generally implement the copy() method to return a copy of the receiver. Note that frozenCopy() will only work if you also implement Ember.Freezable.

ControllerMixin#_qpDelegate

_qpDelegateprivate Defined in packages/ember-routing/lib/ext/controller.js:25

ControllerMixin

Ember.ControllerMixin Class PRIVATE Uses: Ember.ActionHandler Defined in: packages/ember-runtime/lib/mixins/controller.js:6 Module: ember-routing

ControllerMixin#model

modelpublic Defined in packages/ember-runtime/lib/mixins/controller.js:36 The controller's current model. When retrieving or modifying a controller's model, this property should be used instead of the content property.

ControllerMixin#target

targetpublic Defined in packages/ember-runtime/lib/mixins/controller.js:16 The object to which actions from the view should be sent. For example, when a Handlebars template uses the {{action}} helper, it will attempt to send the action to the view's controller's target. By default, the value of the target property is set to the router, and is injected when a controller is instantiated. This injection is applied as part of the application's initialization process. In most cases the target pr