ember-cli-poly-component

0.0.5 • Public • Published

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}}

Readme

Keywords

Package Sidebar

Install

npm i ember-cli-poly-component

Weekly Downloads

1

Version

0.0.5

License

MIT

Last publish

Collaborators

  • martndemus