All Projects → miguelcobain → ember-dynamic-render-template

miguelcobain / ember-dynamic-render-template

Licence: MIT license
Render DOM from a template string.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
Handlebars
879 projects

ember-dynamic-render-template Build Status

This addon allows you to render from an handlebars string.

NOTE1: This is an experimental addon, mostly used for creating interactive examples.

NOTE2: This will include the handlebars compiler in your app.

Usage

{{render-template
  templateString="String: {{a}} + {{b}} = {{c}} - {{my-component}}"
  props=(hash a=1 b=1 c=2)}}

Installation

ember install ember-dynamic-render-template

Linting

  • npm run lint:js
  • npm run lint:js -- --fix

Running tests

  • ember test – Runs the test suite on the current Ember version
  • ember test --server – Runs the test suite in "watch mode"
  • ember try:each – Runs the test suite against multiple Ember versions

Running the dummy application

For more information on using ember-cli, visit https://ember-cli.com/.

License

This project is licensed under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].