0.1.2 • Published 8 years ago
ember-template-input v0.1.2
ember-template-input
Ember input component for easily building template strings from an available list of options
Usage
{{template-input options=options template=template onChange=(action (mut template))}}optionsis an array of strings, e.g.['option1', 'option2'].templateis a string in the form of 'my string {option1} and {option2}', whereoption1andoption2exist in theoptionsarray.onChangeis an action that returns the updated template.
Installation
git clone <repository-url>this repositorycd ember-template-inputnpm install
Running
ember serve- Visit your app at http://localhost:4200.
Running Tests
npm test(Runsember try:eachto test your addon against multiple Ember versions)ember testember test --server
Building
ember build
For more information on using ember-cli, visit https://ember-cli.com/.