TargetActionSupport

Ember.TargetActionSupport Class PRIVATE Extends: Ember.Mixin Defined in: packages/ember-runtime/lib/mixins/target_action_support.js:12 Module: ember-runtime Ember.TargetActionSupport is a mixin that can be included in a class to add a triggerAction method with semantics similar to the Handlebars {{action}} helper. In normal Ember usage, the {{action}} helper is usually the best choice. This mixin is most often useful when you are doing more complex event handling in View objects. See also

CoreObject

Ember.CoreObject Class PUBLIC Defined in: packages/ember-runtime/lib/system/core_object.js:204 Module: ember-runtime

DS.Errors#add()

add (attribute, messages) deprecated Defined in addon/-private/system/model/errors.js:209 Adds error messages to a given attribute and sends becameInvalid event to the record. Example: if (!user.get('username') { user.get('errors').add('username', 'This field is required'); } Parameters: attribute String messages (Array|String)

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') });