Basically I am having a search model which have many criterias. now I am setting up a range sliders to filter price with min and max value as showing in the picture bellow, I want to refresh the model anytime I change the slider values. Any idea how to make it? I copy some pieces of my code:
# route.js.coffee
App.BooksRoute = Ember.Route.extend
queryParams:
page:
refreshModel: true
min_price:
refreshModel: true
max_price:
refreshModel: true
# template.hbs
<div class="row">
<div id="price-slider"></div>
</div>
<div class="row">
<div id="min_price">{{min_price}}</div>
<div id="max_price" class="right">{{max_price}}</div>
</div>
Thanks,