Meteor Deps - Running a Client Side Func
Posted
by
Andrew Plummer
on Stack Overflow
See other posts from Stack Overflow
or by Andrew Plummer
Published on 2012-06-29T10:49:35Z
Indexed on
2012/06/30
3:16 UTC
Read the original article
Hit count: 212
meteor
I'm struggling to get a handle on Meteor deps, in order to be specific my use case is:
2) When collection is changed, I want to run a jQuery function on the client side
I think deps are what I'm looking for, but at the moment I have only just used:
Template.templateName.set () ->
return Set.find({})
...in terms of reactivity.
A solution which simply console.log's the collection each time it is changed would be more that enough.
© Stack Overflow or respective owner