These are chat archives for canjs/canjs

9th
Oct 2018
Justin Meyer
@justinbmeyer
Oct 09 2018 00:41
Ngaosathe
@ThekhoN
Oct 09 2018 09:20
anyone aware of preventing navigation in bit-tabs?
Ivo Pinheiro
@ivospinheiro
Oct 09 2018 15:44
@justinbmeyer thanks for fixing the issue and doing a new release of can-event-queue with the fix so fast
Justin Meyer
@justinbmeyer
Oct 09 2018 15:46
no problem!
If you want to express your love for the @canjs community ... say in a tweet ... I bet I know a few folks who would <3 it :-)
Ivo Pinheiro
@ivospinheiro
Oct 09 2018 15:49
I will do it for sure.
Justin Meyer
@justinbmeyer
Oct 09 2018 15:55
👍
Ivo Pinheiro
@ivospinheiro
Oct 09 2018 16:03
done!
Ivo Pinheiro
@ivospinheiro
Oct 09 2018 16:49
On CanJS 5 is it still be possible to add eventListeners to custom components?
I've tried to do this but it isn't working:
https://codepen.io/anon/pen/WapvJK?editors=0010
Ivo Pinheiro
@ivospinheiro
Oct 09 2018 17:27

I've meanwhile figured out what was the problem while checking the documentation:
https://canjs.com/doc/can-stache-bindings.event.html#DOMevents

on:click only works on elements that does not have a ViewModel

In this case should be on:el:click

Please ignore my previous comment

Justin Meyer
@justinbmeyer
Oct 09 2018 18:18
@ivospinheiro thanks for the tweet! A bit of fishing for complements never hurt anyone right? 🎣
Ivo Pinheiro
@ivospinheiro
Oct 09 2018 21:58
Of course! They are well deserved! :thumbsup: