Ember input component for easily building template strings from an available list of options.
Install with the following command (requires Ember CLI).
ember install ember-template-input
Note: This addon doesn't work with the Grammarly extension enabled.
options
is an array of strings, e.g.['option1', 'option2']
.template
is a string in the form of 'my string {option1} and {option2}', whereoption1
andoption2
exist in theoptions
array.onChange
is an action that returns the updated template.
git clone <repository-url>
this repositorycd ember-template-input
npm install
npm run lint:js
npm run lint:js -- --fix
ember test
– Runs the test suite on the current Ember versionember test --server
– Runs the test suite in "watch mode"ember try:each
– Runs the test suite against multiple Ember versions
ember serve
- Visit the dummy application at http://localhost:4200.
For more information on using ember-cli, visit https://ember-cli.com/.
This project is licensed under the MIT License.