Copyable#frozenCopy()

frozenCopyObjectdeprecatedprivate Defined in packages/ember-runtime/lib/mixins/copyable.js:42 Use Object.freeze instead. If the object implements Ember.Freezable, then this will return a new copy if the object is not frozen and the receiver if the object is frozen. Raises an exception if you try to call this method on a object that does not support freezing. You should use this method whenever you want a copy of a freezable object since a freezable object can simply return itself without

Copyable#copy()

copy (deep) Objectprivate Defined in packages/ember-runtime/lib/mixins/copyable.js:29 Required. You must implement this method to apply this mixin. Override to return a copy of the receiver. Default implementation raises an exception. Parameters: deep Boolean if `true`, a deep copy of the object should be made Returns: Object copy of receiver

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.

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#_qpDelegate

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

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);

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

ControllerMixin#replaceRoute()

replaceRoute (name, models) private Defined in packages/ember-routing/lib/ext/controller.js:122 Transition into another route while replacing the current URL, if possible. This will replace the current history entry instead of adding a new one. Beside that, it is identical to transitionToRoute in all other respects. aController.replaceRoute('blogPosts'); aController.replaceRoute('blogPosts.recentEntries'); Optionally supply a model for the route in question. The model will be serialized in

ControllerMixin#queryParams

queryParamspublic Defined in packages/ember-routing/lib/ext/controller.js:14 Defines which query parameters the controller accepts. If you give the names ['category','page'] it will bind the values of these query parameters to the variables this.category and this.page