vendredi 8 juillet 2016

Rerender template using model (without going to server)

I have a model which changes client side; i.e., dynamically changes what it outputs depending on what is typed into a search box. I currently have it set up that every time the search box changes, the model is refreshed using this.refresh().

This does what I want because it rerenders the template using a new model, but it also sends a request to the server for new model data.

Is there any way to disable requesting new model data from the server?

Aucun commentaire:

Enregistrer un commentaire