0.2.0 • Published 7 years ago

ember-query-method v0.2.0

Weekly downloads
29
License
MIT
Repository
github
Last release
7 years ago

ember-query-method

Download count all time npm version CircleCI Ember Observer Score

Run a method when a query parameter is detected.

Installation

ember install ember-query-method

Usage

This addon provides a mixin that will run a method if a matching query parameter is found. The method can be defined on any lookup-able object in the container and will be passed the values from the url.

There are two sets of requirements for this mixin to function properly.

  • git clone <repository-url>
  • cd ember-query-method
  • npm install

Linting

  • npm run lint:js
  • npm run 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"
  • npm test – Runs ember try:each to test your addon 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.