Using Block Params

Using Block Params Components can have properties passed in (Passing Properties to a Component), but they can also return output to be used in a block expression. Return values from a component with yield app/templates/index.hbs {{blog-post post=model}} app/templates/components/blog-post.hbs {{yield post.title post.body post.author}} Here an entire blog post model is being passed to the component as a single component property. In turn the component is returning values using yield. In this

DataAdapter

Ember.DataAdapter Class PUBLIC Extends: EmberObject Defined in: packages/ember-extension-support/lib/data_adapter.js:20 Module: ember-extension-support The DataAdapter helps a data persistence library interface with tools that debug Ember such as the Ember Extension for Chrome and Firefox. This class will be extended by a persistence library which will override some of the methods with library-specific code. The methods likely to be overridden are: getFilters detect columnsForType getRecor

LinkComponent#activeClass

activeClassStringprivate Defined in packages/ember-htmlbars/lib/components/link-to.js:401 The CSS class to apply to LinkComponent's element when its active property is true. Default: active

ViewTargetActionSupport#handleEvent()

handleEvent (eventName, evt) private Defined in packages/ember-views/lib/mixins/view_support.js:495 Handle events from Ember.EventDispatcher Parameters: eventName String evt Event

RegistryProxyMixin#registeredOption()

registeredOption (fullName, optionName) Objectpublic Defined in packages/ember-runtime/lib/mixins/registry_proxy.js:131 Return a specific registered option for a particular factory. Parameters: fullName String optionName String Returns: Object options

Route#error event

error (error, transition) public Defined in packages/ember-routing/lib/system/route.js:640 When attempting to transition into a route, any of the hooks may return a promise that rejects, at which point an error action will be fired on the partially-entered routes, allowing for per-route error handling logic, or shared error handling logic defined on a parent route. Here is an example of an error handler that will be invoked for rejected promises from the various hooks on the route, as well

Ember.propertyWillChange()

propertyWillChange (obj, keyName) Voidprivate Defined in packages/ember-metal/lib/property_events.js:27 This function is called just before an object property is about to change. It will notify any before observers and prepare caches among other things. Normally you will not need to call this method directly but if for some reason you can't directly watch a property you can invoke this method manually along with Ember.propertyDidChange() which you should call just after the property value c

Test.Adapter#asyncStart()

asyncStartpublic Defined in packages/ember-testing/lib/adapters/adapter.js:19 This callback will be called whenever an async operation is about to start. Override this to call your framework's methods that handle async operations.

Function#property()

propertypublic Defined in packages/ember-runtime/lib/ext/function.js:15 The property extension of Javascript's Function prototype is available when EmberENV.EXTEND_PROTOTYPES or EmberENV.EXTEND_PROTOTYPES.Function is true, which is the default. Computed properties allow you to treat a function like a property: MyApp.President = Ember.Object.extend({ firstName: '', lastName: '', fullName: function() { return this.get('firstName') + ' ' + this.get('lastName'); }.property() // Ca

Registry#describe()

describe (fullName) Stringprivate Defined in packages/container/lib/registry.js:262 A hook that can be used to describe how the resolver will attempt to find the factory. For example, the default Ember .describe returns the full class name (including namespace) where Ember's resolver expects to find the fullName. Parameters: fullName String Returns: String described fullName