TextSupport#keyDown()

keyDown (event) private Defined in packages/ember-views/lib/mixins/text_support.js:313 Allows you to specify a controller action to invoke when a key-down event is fired. To use this method, give your field a key-down attribute. The value of that attribute should be the name of the action in your controller that you wish to invoke. For an example on how to use the key-down attribute, please reference the example near the top of this file. Parameters: event Event

DS.RESTAdapter#host

host{String} Defined in addon/adapters/rest.js:367 An adapter can target other hosts by setting the host property. app/adapters/application.js import DS from 'ember-data'; export default DS.RESTAdapter.extend({ host: 'https://api.example.com' }); Requests for the Post model would now target https://api.example.com/post/.

DS.BuildURLMixin#urlForQueryRecord()

urlForQueryRecord (query, modelName) String Defined in addon/-private/adapters/build-url-mixin.js:191 Builds a URL for a store.queryRecord(type, query) call. Example: app/adapters/application.js import DS from 'ember-data'; export default DS.RESTAdapter.extend({ urlForQueryRecord({ slug }, modelName) { let baseUrl = this.buildURL(); return `${baseUrl}/${encodeURIComponent(slug)}`; } }); Parameters: query Object modelName String Returns: String url

DS.RESTAdapter#_makeRequest()

_makeRequest (request) Promiseprivate Defined in addon/adapters/rest.js:1379 Make a request using jQuery.ajax. Parameters: request Object Returns: Promise promise

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

Router

Ember.Router Class PUBLIC Extends: Ember.Object Uses: Ember.Evented Defined in: packages/ember-routing/lib/system/router.js:41 Module: ember-routing The Ember.Router class manages the application state and URLs. Refer to the routing guide for documentation.

Test#testing

testing{Boolean}public Defined in packages/ember-testing/lib/ext/application.js:45 Available since 1.3.0 This property indicates whether or not this application is currently in testing mode. This is set when setupForTesting is called on the current application. Default: false

Templates.helpers.concat()

concatpublic Defined in packages/ember-htmlbars/lib/helpers/concat.js:6 Available since 1.13.0 Concatenates input params together. Example: handlebars {{some-component name=(concat firstName " " lastName)}} {{! would pass name="<first name value> <last name value>" to the component}}

DS.RESTAdapter#isInvalid()

isInvalid (status, headers, payload) Boolean Defined in addon/adapters/rest.js:960 Available since 1.13.0 Default handleResponse implementation uses this hook to decide if the response is a an invalid error. Parameters: status Number headers Object payload Object Returns: Boolean