benchmarks/scenarios/ember.js
function queryParamsHelper(params, hash) {
    _emberMetalDebug.assert('The `query-params` helper only accepts hash parameters, e.g. (query-params queryParamPropertyName=\'foo\') as opposed to just (query-params \'foo\')', params.length === 0);

    return _emberRoutingSystemQuery_params.default.create({
      values: hash
    });
  }
function queryParamsHelper(params, hash) {
    _emberMetalDebug.assert('The `query-params` helper only accepts hash parameters, e.g. (query-params queryParamPropertyName=\'foo\') as opposed to just (query-params \'foo\')', params.length === 0);

    return _emberRoutingSystemQuery_params.default.create({
      values: hash
    });
  }
function queryParamsHelper ( params , hash ) { _emberMetalDebug . assert ( 'The `query-params` helper only accepts hash parameters, e.g. (query-params queryParamPropertyName=\'foo\') as opposed to just (query-params \'foo\')' , params . length === 0 ) ; return _emberRoutingSystemQuery_params . default . create ( { values : hash } ) ; }
This is a helper to be used in conjunction with the link-to helper.
It will supply url query parameters to the target route.

Example

```handlebars
{{#link-to 'posts' (query-params direction="asc")}}Sort{{/link-to}}
```

@method query-params
@for Ember.Templates.helpers
@param {Object} hash takes a hash of query parameters
@return {Object} A `QueryParams` object for `{{link-to}}`
@public
This is a helper to be used in conjunction with the link - to helper . It will supply url query parameters to the target route .