Skip to content

Commit

Permalink
[FEATURE ember-contextual-components] Add to FEATURES.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mixonic committed Oct 17, 2015
1 parent dd060f6 commit a6f0487
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions FEATURES.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,19 @@ for a detailed explanation.
* `ember-metal-ember-assign`

Add `Ember.assign` that is polyfill for `Object.assign`.

* `ember-contextual-components`

Introduce a helper that creates closures over attrs and its own path, then
allow the closed over cell to be invoked via the `{{component` helper or
any reference with a dot in the path.

For example:

```js
{{#with (hash profile=(component "user-profile")) as |userComponents|}}
{{userComponents.profile}}
{{/with}}
```

Implements RFC [#64](https://github.com/emberjs/rfcs/blob/master/text/0064-contextual-component-lookup.md)

0 comments on commit a6f0487

Please sign in to comment.