Coder Social home page Coder Social logo

Comments (4)

 avatar commented on June 19, 2024

Here's the example code:

https://github.com/prowrestler-io/play.prowrestler.io/blob/example/app/routes/promotions/promotion/rosters.js

applicationModel is just an interface for the infinityModel method. I have moved all of the setup stuff into a mixin class to keep my routes a little slimmer.

from ember-infinity.

 avatar commented on June 19, 2024

Looks like #90 is pretty close to what I need so I am gonna close this!

Much appreciation to the hard work being done on this to HHFF and cohorts 👍

from ember-infinity.

DuBistKomisch avatar DuBistKomisch commented on June 19, 2024

I've been calling this.refresh() on the route, similar to #78 except run through Ember.run.debounce to prevent spamming the server as the user types. I also use an observer on the property instead of making it a query param. It seems to work as expected, and is smooth from the user perspective. It does internally trigger a route transition though unfortunately.

To be honest, when I first started implementing it, I assumed infinityModel would actually observe the bound properties, and automatically reset from page 1 when they change. Some documentation clarification on this whole area would be great.

from ember-infinity.

hhff avatar hhff commented on June 19, 2024

a PR would be great @DuBistKomisch 👍

from ember-infinity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.