https://github.com/locusenergy/ember-interpolate-helper
A helper for string interpolations in your Glimmer templates akin to ES6 template literals.
https://github.com/locusenergy/ember-interpolate-helper
Last synced: 11 months ago
JSON representation
A helper for string interpolations in your Glimmer templates akin to ES6 template literals.
- Host: GitHub
- URL: https://github.com/locusenergy/ember-interpolate-helper
- Owner: LocusEnergy
- License: mit
- Created: 2016-03-23T00:19:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-15T17:46:01.000Z (about 10 years ago)
- Last Synced: 2025-04-08T19:56:33.152Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 15.6 KB
- Stars: 7
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://travis-ci.org/LocusEnergy/ember-interpolate-helper)
# ember-interpolate-helper
A helper for string interpolations in your Glimmer templates akin to ES6 template literals.
To install,
`ember install ember-interpolate-helper`
## Usage
### helper
```hbs
{{i '${someText} is good with bread' someText='butter'}}
```
### subexpression
```hbs
{{component (i 'my-${c}-widget' c=color)}}
```
## Running
* `ember server`
* Visit your app at http://localhost:4200.
## Running Tests
* `npm test` (Runs `ember try:testall` to test your addon against multiple Ember versions)
* `ember test`
* `ember test --server`
## Building
* `ember build`
For more information on using ember-cli, visit [http://www.ember-cli.com/](http://www.ember-cli.com/).