ember-query-method
v0.2.0
Published
Run a method when a query parameter is detected
Downloads
32
Readme
ember-query-method
Run a method when a query parameter is detected.
Installation
ember install ember-query-methodUsage
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-methodnpm install
Linting
npm run lint:jsnpm run lint:js -- --fix
Running tests
ember test– Runs the test suite on the current Ember versionember test --server– Runs the test suite in "watch mode"npm test– Runsember try:eachto test your addon against multiple Ember versions
Running the dummy application
ember serve- Visit the dummy application at http://localhost:4200.
For more information on using ember-cli, visit https://ember-cli.com/.
License
This project is licensed under the MIT License.
