These are chat archives for canjs/canjs

20th
Nov 2015
Gerard Finnerty
@halcyonandon
Nov 20 2015 06:52
Hi, question... 2.3 deprecating the old way of two-way binding... does it still work?
Matthew Phillips
@matthewp
Nov 20 2015 15:14
@halcyonandon if you mean foo="{foo}" yes that still works
Mihai Fantana
@fantanamihai
Nov 20 2015 16:39
@justinbmeyer I noticed that can.trigger is a "smart" trigger.
My question was if one can use can.trigger for events, and later on catch them without knowing on which object to listen e.g. emulate
can.Control('SpecialEvent',{},{
'special.event': function() { }
});

//...
//do something in another place (control/model) and when job done
//can.trigger(anObjectNotKnownToSpecialEventControl, 'special.event');
Justin Meyer
@justinbmeyer
Nov 20 2015 19:17
I think can.trigger bubbles
@meconcomputer
so if anObjectNotKnownToSpecialEventControl is an element within SpecialEvent, it should be captured
Justin Meyer
@justinbmeyer
Nov 20 2015 20:57
I'm going to go through the can/view/bindings code.
If you want to be in the discussion, ping me
write your email here
and I will invite you
you can also ask questions here
if you are watching live
new link