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

Enumerable#map()

map (callback, target) Arraypublic Defined in packages/ember-runtime/lib/mixins/enumerable.js:326 Maps all of the items in the enumeration to another value, returning a new array. This method corresponds to map() defined in JavaScript 1.6. The callback method you provide should have the following signature (all parameters are optional): function(item, index, enumerable); item is the current item in the iteration. index is the current index in the iteration. enumerable is the enumerable

Observable#notifyPropertyChange()

notifyPropertyChange (keyName) Ember.Observablepublic Defined in packages/ember-runtime/lib/mixins/observable.js:318 Convenience method to call propertyWillChange and propertyDidChange in succession. Parameters: keyName String The property key to be notified about. Returns: Ember.Observable

DS.Errors#errorsFor()

errorsFor (attribute) Array Defined in addon/-private/system/model/errors.js:136 Returns errors for a given attribute var user = store.createRecord('user', { username: 'tomster', email: 'invalidEmail' }); user.save().catch(function(){ user.get('errors').errorsFor('email'); // returns: // [{attribute: "email", message: "Doesn't look like a valid email."}] }); Parameters: attribute String Returns: Array

Test#visit()

visit (url) RSVP.Promisepublic Defined in packages/ember-testing/lib/helpers.js:24 Loads a route, sets up any controllers, and renders any templates associated with the route as though a real user had triggered the route change while using your app. Example: visit('posts/index').then(function() { // assert something }); Parameters: url String the name of the route Returns: RSVP.Promise

ApplicationInstance.BootOptions

Ember.ApplicationInstance.BootOptions Class PUBLIC Defined in: packages/ember-application/lib/system/application-instance.js:292 Module: ember-application A list of boot-time configuration options for customizing the behavior of an Ember.ApplicationInstance. This is an interface class that exists purely to document the available options; you do not need to construct it manually. Simply pass a regular JavaScript object containing the desired options into methods that require one of these op

Ember.onLoad()

onLoad (name, callback) private Defined in packages/ember-runtime/lib/system/lazy_load.js:14 Detects when a specific package of Ember (e.g. 'Ember.Application') has fully loaded and is available for extension. The provided callback will be called with the name passed resolved from a string into the object: Ember.onLoad('Ember.Application' function(hbars) { hbars.registerHelper(...); }); Parameters: name String name of hook callback Function callback to be called

DS.RecordArray#isLoaded

isLoadedBoolean Defined in addon/-private/system/record-arrays/record-array.js:46 The flag to signal a RecordArray is finished loading data. Example var people = store.peekAll('person'); people.get('isLoaded'); // true

DS.Adapter#deleteRecord()

deleteRecord (store, type, snapshot) Promise Defined in addon/adapter.js:371 Implement this method in a subclass to handle the deletion of a record. Sends a delete request for the record to the server. Example app/adapters/application.js import DS from 'ember-data'; export default DS.Adapter.extend({ deleteRecord: function(store, type, snapshot) { var data = this.serialize(snapshot, { includeId: true }); var id = snapshot.id; return new Ember.RSVP.Promise(function(resolve, r

Templates.helpers.component()

componentpublic Defined in packages/ember-htmlbars/lib/keywords/component.js:11 Available since 1.11.0 The {{component}} helper lets you add instances of Ember.Component to a template. See Ember.Component for additional information on how a Component functions. {{component}}'s primary use is for cases where you want to dynamically change which type of component is rendered as the state of your application changes. The provided block will be applied as the template for the component. Given a