ember-query-method

0.2.0 • Public • Published

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.

/ember-query-method/

    Package Sidebar

    Install

    npm i ember-query-method

    Weekly Downloads

    6

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    14.6 kB

    Total Files

    14

    Last publish

    Collaborators

    • mikehearn
    • dianaparrington
    • jjnypr
    • nypr
    • noslouch