1.1.0 • Published 5 years ago

ember-helper-helper v1.1.0

Weekly downloads
8
License
MIT
Repository
github
Last release
5 years ago

ember-helper-helper

This add-on provides a helper helper that looks up the helper by name and returns a function with partial application (commonly called "currying"). It is useful when you want to use a helper as an action.

Installation

ember install ember-helper-helper

Usage

<button value='42' onclick={{pipe-action (action (helper 'store/find-record' 'user') value='target.value') (action (mut user))}}>
  Find and set user 42
</button>

See Also

Contributing

Installation

  • git clone https://github.com/ember-sapporo/ember-helper-helper.git
  • cd ember-helper-helper
  • yarn install

Linting

  • yarn lint:js
  • yarn 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.

1.1.0

5 years ago

1.0.1

6 years ago

1.0.0

6 years ago