0.0.5 • Published 9 years ago

ember-cli-poly-component v0.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

ember-cli-poly-component

Render any Ember component with any attributes.

Example

{{poly-component componentName properties}}

Where componentName is a string value corresponding to the name of a component and properties is a key value object (e.g. Ember.Object or just Object).

If for example componentName would be person-details and properties would be:

{
  name: 'Jake Bugg',
  email: 'jake.bugg@example.org'
}

then the poly-component helper would 'transform' this into:

{{person-details name=properties.name email=properties.email}}