Test#fillIn()

fillIn (selector, text) RSVP.Promisepublic Defined in packages/ember-testing/lib/helpers.js:85 Fills in an input element with some text. Example: fillIn('#email', 'you@example.com').then(function() { // assert something }); Parameters: selector String jQuery selector finding an input element on the DOM to fill text with text String text to place inside the input element Returns: RSVP.Promise

MutableArray#unshiftObjects()

unshiftObjects (objects) Ember.Arraypublic Defined in packages/ember-runtime/lib/mixins/mutable_array.js:280 Adds the named objects to the beginning of the array. Defers notifying observers until all objects have been added. let colors = ['red']; colors.unshiftObjects(['black', 'white']); // ['black', 'white', 'red'] colors.unshiftObjects('yellow'); // Type Error: 'undefined' is not a function Parameters: objects Ember.Enumerable the objects to add Returns: Ember.Array receiv

DS.Store#find()

find (modelName, id, options) Promiseprivate Defined in addon/-private/system/store.js:429 Parameters: modelName String id String|Integer options Object Returns: Promise promise

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

DS.Model

DS.Model Class Extends: Ember.Object Uses: Ember.Evented Defined in: addon/-private/system/relationships/ext.js:96 Module: ember-data The model class that all Ember Data records descend from. This is the public API of Ember Data models. If you are using Ember Data in your application, this is the class you should use. If you are working on Ember Data internals, you most likely want to be dealing with InternalModel

Creating a Handlebars Helper

Creating a Handlebars Helper So far, our app is directly showing the user data from our Ember Data models. As our app grows, we will want to manipulate data further before presenting it to our users. For this reason, Ember offers Handlebars template helpers to decorate the data in our templates. Let's use a handlebars helper to allow our users to quickly see if a property is "standalone" or part of a "Community". To get started, let's generate a helper for rental-property-type: ember g helper

DS.EmbeddedRecordsMixin#_extractEmbeddedRecords()

_extractEmbeddedRecordsprivate Defined in addon/serializers/embedded-records-mixin.js:530

DS.Store#_fetchAll()

_fetchAll (typeClass, array) Promiseprivate Defined in addon/-private/system/store.js:1423 Parameters: typeClass DS.Model array DS.RecordArray Returns: Promise promise

Route#_updatingQPChanged()

_updatingQPChangedprivate Defined in packages/ember-routing/lib/system/route.js:336

Route#disconnectOutlet()

disconnectOutlet (options) public Defined in packages/ember-routing/lib/system/route.js:1957 Disconnects a view that has been rendered into an outlet. You may pass any or all of the following options to disconnectOutlet: outlet: the name of the outlet to clear (default: 'main') parentView: the name of the view containing the outlet to clear (default: the view rendered by the parent route) Example: App.ApplicationRoute = App.Route.extend({ actions: { showModal: function(evt) {