These are chat archives for canjs/canjs

19th
Jul 2018
Justin Meyer
@justinbmeyer
Jul 19 2018 02:48
@pYr0x yeah, probably
@roemhildtg PR: canjs/can-component#283
Justin Meyer
@justinbmeyer
Jul 19 2018 13:22
@pYr0x can you create an issue?
Julian
@pYr0x
Jul 19 2018 13:22
yeah..
i have trouble to have the inserted event in my component, too
i added all the stuff from bitballs https://github.com/donejs/bitballs/blob/master/public/inserted-removed.js and it doesnt trigger an inserted event
Kevin Phillips
@phillipskevin
Jul 19 2018 13:27
did you try adding can-3-4-compat/dom-mutation-events?
;)
Kevin Phillips
@phillipskevin
Jul 19 2018 13:32
haha, so it is
Justin Meyer
@justinbmeyer
Jul 19 2018 14:04
You'll find CanJS 5.0 on: https://javascriptkicks.com/stories if you'd like to upvote it :-)
oh, you can upvote directly here: https://javascriptkicks.com/stories/51779/canjs-5-0
Julian
@pYr0x
Jul 19 2018 17:28
the inserted and removed event is not working in canjs5: canjs/can-dom-mutate#34
@justinbmeyer i filed an issue about the exporting can-dom-mutate/dom-events
Matthew Phillips
@matthewp
Jul 19 2018 17:36
Thanks @pYr0x
Hm, are those event documented?
I guess that's probably a mistake..
Julian
@pYr0x
Jul 19 2018 17:41
what? thats insertedis not working or that dom-events is not exported?
Matthew Phillips
@matthewp
Jul 19 2018 18:08
dom-events is not documented currently
Kevin Phillips
@phillipskevin
Jul 19 2018 18:12
I think this is working @pYr0x
there's no inserted event because that element is already in the DOM
if you remove the element, removed is working