RegistryProxyMixin#registerOption()

registerOption (fullName, optionName, options) public Defined in packages/ember-runtime/lib/mixins/registry_proxy.js:120 Register an option for a particular factory. Parameters: fullName String optionName String options Object

Test#testCheckboxClick()

testCheckboxClickprivate Defined in packages/ember-testing/lib/support.js:13 This method creates a checkbox and triggers the click event to fire the passed in handler. It is used to correct for a bug in older versions of jQuery (e.g 1.8.3).

DS.Model#becameError event

becameError Defined in addon/-private/system/model/model.js:465 Fired when the record enters the error state.

DS.Model#_notifyProperties()

_notifyPropertiesprivate Defined in addon/-private/system/model/model.js:591

DS.SnapshotRecordArray#length

length{Number} Defined in addon/-private/system/snapshot-record-array.js:28 Number of records in the array

NoneLocation#formatURL()

formatURL (url) Stringprivate Defined in packages/ember-routing/lib/location/none_location.js:97 Given a URL, formats it to be placed into the page as part of an element's href attribute. This is used, for example, when using the {{action}} helper to generate a URL based on an event. Parameters: url String Returns: String url

Route#deactivate event

deactivatepublic Defined in packages/ember-routing/lib/system/route.js:712 Available since 1.9.0 This event is triggered when the router completely exits this route. It is not executed when the model for the route changes. App.IndexRoute = Ember.Route.extend({ trackPageLeaveAnalytics: function(){ trackPageLeaveAnalytics(); }.on('deactivate') });

ApplicationInstance#rootElement

rootElementString|DOMElementprivate Defined in packages/ember-application/lib/system/application-instance.js:67 The root DOM element of the Application as an element or a jQuery-compatible selector string.

Route#setup()

setupprivate Defined in packages/ember-routing/lib/system/route.js:1177 This hook is the entry point for router.js

DS.Errors#has()

has (attribute) Boolean Defined in addon/-private/system/model/errors.js:405 Checks if there is error messages for the given attribute. app/routes/user/edit.js import Ember from 'ember'; export default Ember.Route.extend({ actions: { save: function(user) { if (user.get('errors').has('email')) { return alert('Please update your email before attempting to save.'); } user.save(); } } }); Parameters: attribute String Returns: Boolean true i