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') });
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.
setupprivate Defined in packages/ember-routing/lib/system/route.js:1177 This hook is the entry point for router.js
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
getModelTypesArrayprivate Defined in packages/ember-extension-support/lib/data_adapter.js:343 Fetches all models defined in the application. Returns: Array Array of model types.
_contentWillChangeprivate Defined in packages/ember-runtime/lib/system/array_proxy.js:133 Invoked when the content property is about to change. Notifies observers that the entire array content will change.
record{DS.Model} Defined in addon/-private/system/snapshot.js:63 The underlying record for this snapshot. Can be used to access methods and properties defined on the record. Example var json = snapshot.record.toJSON();
Ember.Route Class PUBLIC Extends: Ember.Object Uses: Ember.ActionHandler Uses: Ember.Evented Defined in: packages/ember-routing/lib/system/route.js:75 Module: ember-routing The Ember.Route class is used to define individual routes. Refer to the routing guide for documentation.
Ember.streams.Dependency Class PRIVATE Defined in: packages/ember-htmlbars/lib/streams/dependency.js:14 Module: ember-metal
_addBeforeObserver (obj, path, target, method) deprecatedprivate Defined in packages/ember-metal/lib/observer.js:63 Parameters: obj path String target Object|Function method [Function|String]
Page 9 of 136