DefaultResolver#resolveHelper()

resolveHelper (parsedName) protected Defined in packages/ember-application/lib/system/resolver.js:367 Look up the specified object (from parsedName) on the appropriate namespace (usually on the Application) Parameters: parsedName Object a parseName object with the parsed fullName lookup string

Ember.GUID_KEY

GUID_KEYStringprivateconstant Defined in packages/ember-metal/lib/utils.js:94 A unique key used to assign guids and other private metadata to objects. If you inspect an object in your browser debugger you will often see these. They can be safely ignored. On browsers that support it, these properties are added with enumeration disabled so they won't show up when you iterate over your properties.

Ember.run.begin()

beginVoidpublic Defined in packages/ember-metal/lib/run_loop.js:180 Begins a new RunLoop. Any deferred actions invoked after the begin will be buffered until you invoke a matching call to run.end(). This is a lower-level way to use a RunLoop instead of using run(). run.begin(); // code to be executed within a RunLoop run.end(); Returns: Void

Testing Components

Testing Components Components can be tested with integration tests using the moduleForComponent helper. Let's assume we have a component with a style property that is updated whenever the value of the name property changes. The style attribute of the component is bound to its style property. You can follow along by generating your own component with ember generate component pretty-color. app/components/pretty-color.js import Ember from 'ember'; export default Ember.Component.extend({ att

DS.SnapshotRecordArray#meta

meta{Object} Defined in addon/-private/system/snapshot-record-array.js:40 Meta object

Actions

Actions Your app will often need a way to let users interact with controls that change application state. For example, imagine that you have a template that shows a blog title, and supports expanding the post to show the body. If you add the {{action}} helper to any HTML DOM element, when a user clicks the element, the named event will be sent to the template's corresponding component or controller. app/templates/components/single-post.hbs <h3><button {{action "toggleBody"}}>{{tit

CoreView#getViewRange()

getViewRange (view) private Defined in packages/ember-views/lib/system/utils.js:19 Parameters: view Ember.View

Application#buildInstance()

buildInstanceEmber.ApplicationInstanceprivate Inherited from Ember.Engine but overwritten in packages/ember-application/lib/system/application.js:367 Create an ApplicationInstance for this application. Returns: Ember.ApplicationInstance the application instance

Ember.$()

$public Defined in packages/ember-views/lib/index.js:23 Alias for jQuery

AutoLocation#rootURL

rootURLprivate Defined in packages/ember-routing/lib/location/auto_location.js:99 Available since 1.5.1 Default: '/'