Location#create()

create (options) Objectdeprecatedprivate Defined in packages/ember-routing/lib/location/api.js:147 Use the container to lookup the location implementation that you need. This is deprecated in favor of using the container to lookup the location implementation as desired. For example: // Given a location registered as follows: container.register('location:history-test', HistoryTestLocation); // You could create a new instance via: container.lookup('location:history-test'); Parameters:

Ember.aliasMethod()

aliasMethod (methodName) public Defined in packages/ember-metal/lib/mixin.js:673 Makes a method available via an additional name. App.Person = Ember.Object.extend({ name: function() { return 'Tomhuda Katzdale'; }, moniker: Ember.aliasMethod('name') }); let goodGuy = App.Person.create(); goodGuy.name(); // 'Tomhuda Katzdale' goodGuy.moniker(); // 'Tomhuda Katzdale' Parameters: methodName String name of the method to alias

Ember.tryInvoke()

tryInvoke (obj, methodName, args) *public Defined in packages/ember-metal/lib/utils.js:338 Checks to see if the methodName exists on the obj, and if it does, invokes it with the arguments passed. let d = new Date('03/15/2013'); Ember.tryInvoke(d, 'getTime'); // 1363320000000 Ember.tryInvoke(d, 'setFullYear', [2014]); // 1394856000000 Ember.tryInvoke(d, 'noSuchMethod', [2014]); // undefined Parameters: obj Object The object to check for the method methodName String T

NoneLocation#handleURL()

handleURL (callback) private Defined in packages/ember-routing/lib/location/none_location.js:85 Sets the path and calls the updateURL callback. Parameters: callback Function

Route#controllerFor()

controllerFor (name) Ember.Controllerpublic Defined in packages/ember-routing/lib/system/route.js:1672 Returns the controller for a particular route or name. The controller instance must already have been created, either through entering the associated route or using generateController. App.PostRoute = Ember.Route.extend({ setupController: function(controller, post) { this._super(controller, post); this.controllerFor('posts').set('currentPost', post); } }); Parameters: name

TextSupport#templateName

templateNameStringprivate Defined in packages/ember-views/lib/mixins/template_support.js:22 The name of the template to lookup if no template is provided. By default Ember.View will lookup a template with this name in Ember.TEMPLATES (a shared global object). Default: null

DS.Store#deleteRecord()

deleteRecord (record) Defined in addon/-private/system/store.js:386 For symmetry, a record can be deleted via the store. Example var post = store.createRecord('post', { title: "Rails is omakase" }); store.deleteRecord(post); Parameters: record DS.Model

TextSupport#action

actionStringprivate Defined in packages/ember-views/lib/mixins/text_support.js:143 The action to be sent when the user presses the return key. This is similar to the {{action}} helper, but is fired when the user presses the return key when editing a text field, and sends the value of the field as the context. Default: null

Ember.removeListener()

removeListener (obj, eventName, target, method) public Defined in packages/ember-metal/lib/events.js:112 Remove an event listener Arguments should match those passed to Ember.addListener. Parameters: obj eventName String target Object|Function A target object or a function method Function|String A function or the name of a function to be called on `target`

Engine#initializer()

initializer (initializer) public Inherited from Ember.Engine but overwritten in packages/ember-application/lib/system/engine.js:185 The goal of initializers should be to register dependencies and injections. This phase runs once. Because these initializers may load code, they are allowed to defer application readiness and advance it. If you need to access the container or store you should use an InstanceInitializer that will be run after all initializers and therefore after all code is load