These are chat archives for canjs/canjs

1st
Feb 2019
Chasen Le Hara
@chasenlehara
Feb 01 16:25
Join us for our (last?) contributors meeting where we give demos of what we’ve been working on and talk about nerdy open source topics! https://www.youtube.com/watch?v=i3dXyYSp-h4
Piyush Sharma
@Piyush5767
Feb 01 19:59
Hi, i am trying to pass child object to parent by using this:to in canjs3 where it not working, ie: this:to="ckedits"
where as ckedits is attribute in parent which is defined as:
ckedits:{ value:"any", },
<admin-ckedit vm:attributeId:bind="pageAttributes.ckeditor_attribute_id" vm:value:bind="pageAttributes.attributes.{{name}}" id-name:from="'ck_edit_{{name}}_main'" name:from="'{{name}}'" this:to="ckedits"/>
over here i am trying to export entire viewModel
Kevin Phillips
@phillipskevin
Feb 01 20:24
what version of canjs are you using, @Piyush5767 ?
Piyush Sharma
@Piyush5767
Feb 01 20:24
version 3
Piyush Sharma
@Piyush5767
Feb 01 20:32
@phillipskevin any updates?
Kevin Phillips
@phillipskevin
Feb 01 20:34
I'm not sure what could be going wrong. I'm not positive if this:to is supported in 3.0
can you put together a jsbin or codepen or something that reproduces the issue?
Piyush Sharma
@Piyush5767
Feb 01 20:35
this:to is mention to export viewModel
Kevin Phillips
@phillipskevin
Feb 01 20:35
in the docs you mean?
Piyush Sharma
@Piyush5767
Feb 01 20:36
yep
Kevin Phillips
@phillipskevin
Feb 01 20:36
ok
Piyush Sharma
@Piyush5767
Feb 01 20:58
@chasenlehara is there any way in canjs 3 to export viewModel of child?