These are chat archives for canjs/canjs

8th
Jul 2018
Julian
@pYr0x
Jul 08 2018 11:50
hey, i think i asked again, but i didnt remember.. is it possible to set nested objects in stache?
<x-chart-pie vm:apiEndpoint:raw="percentages/logistics/by-type-of-operations"
                     vm:filter:from="filter"
                     vm:headline:raw="Nach Einsatzart"
                     vm:cc.height:from="foo.height"></x-chart-pie>
like vm:cc.height:from="foo.height"
Mohamed Cherif Bouchelaghem
@cherifGsoul
Jul 08 2018 13:53
@pYr0x I don't think it can be passed this way
Mohamed Cherif Bouchelaghem
@cherifGsoul
Jul 08 2018 14:10
<x-comp youKey:to="config.height" /> do the trick
Mohamed Cherif Bouchelaghem
@cherifGsoul
Jul 08 2018 14:17
@pYr0x an another approach to handle your case: https://jsbin.com/zonidit/edit?html,js,console,output
qantourisc
@qantourisc
Jul 08 2018 17:46
I have a defineMap in a defineMap, so dMap.dMap. What is the correct way to replace the dMap.dMap with a new dMap object ?
atm I first set it to undefined.