Some handlebar helpers for working with Ember components.
NOTE: This version only works in Ember 1.13, for a verison compatible with 2.0 and above, go back to the original version (foxnewsnetwork/ember-component-helpers)
Ember's regular component
is to Function#call
as component-apply
is to Function#apply
Consider the following example of calling Ember's link-to
component:
Now with component-apply
(and the append
helper from ember-composable-helpers)
This is particularly useful while we wait for handlebars-lang/handlebars.js#1149 to come out
- limitations: the array you pass in shouldn't be dynamic
Wraps a vanilla HTML tag into an element, useful for components which demand a parentView such as tooltips from ember-tooltips
git clone
this repositorynpm install
bower install
ember server
- Visit your app at http://localhost:4200.
npm test
(Runsember try:testall
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
For more information on using ember-cli, visit http://ember-cli.com/.