These are chat archives for canjs/canjs

8th
Apr 2016
Christopher Oliphant
@RALifeCoach
Apr 08 2016 12:40
Question: Can I listen for change in visibility? If so, how? Thanks.
Julian
@pYr0x
Apr 08 2016 13:14
:visible ?
Guido Smeets
@gsmeets
Apr 08 2016 13:15

is there a way to listen to events being fired on a list of objects, i.e. something like:

"{viewModel.foo.*} saved"

will that help?
Guido Smeets
@gsmeets
Apr 08 2016 13:17
nope, no examples in that list that listen to events on the individual items
the delegate plugin does what I want to do basically, but that's not included in components
Guido Smeets
@gsmeets
Apr 08 2016 14:07
I fixed it by firing my custom event on the list, with the particular model as an argument
that will hold me over until I upgrade to 2.3 and make my root controllers proper components
then I should have better ways of getting this done