ember-template-input

0.1.2 • Public • Published

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))}}
  • options is an array of strings, e.g. ['option1', 'option2'].
  • template is a string in the form of 'my string {option1} and {option2}', where option1 and option2 exist in the options array.
  • onChange is an action that returns the updated template.

Installation

  • git clone <repository-url> this repository
  • cd ember-template-input
  • npm install

Running

Running Tests

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.2
    2
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i ember-template-input

Weekly Downloads

2

Version

0.1.2

License

MIT

Last publish

Collaborators

  • knownasilya