Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

How to change an observe inside of a compute?

$
0
0
Hey guys, having some issues with can compute that maybe someone has an easy answer for.  

We are building a grid list very similar to the weekly tutorial, but are adding a filter inside.  We are trying to update the "count" of a paginate observe like this this.options.paginate.attr('count', newValue), but this line is creating a loop in the compute.  

What is the best way to change an Observe's values in a compute without triggering a loop?

Viewing all articles
Browse latest Browse all 3491

Trending Articles