These are chat archives for canjs/canjs

26th
Oct 2017
Mohamed Cherif Bouchelaghem
@cherifGsoul
Oct 26 2017 16:46
hey is there a way to know that stache template (component template) finished rendering?
I have to submit a form programatically after receiving a response from the server
Gregg Roemhildt
@roemhildtg
Oct 26 2017 16:57
I imagine you could use inserted. el:on:inserted="goSubmitForm()"
Mohamed Cherif Bouchelaghem
@cherifGsoul
Oct 26 2017 16:58
I try inserted in component events
I will try with the template thank you @roemhildtg
Kevin Phillips
@phillipskevin
Oct 26 2017 17:03
did {element} inserted not work in the component's events?
Mohamed Cherif Bouchelaghem
@cherifGsoul
Oct 26 2017 17:03
I didnt try it
Mohamed Cherif Bouchelaghem
@cherifGsoul
Oct 26 2017 17:11
thanks @phillipskevin it works now :)
Kevin Phillips
@phillipskevin
Oct 26 2017 17:17
np
Chasen Le Hara
@chasenlehara
Oct 26 2017 19:35
@nriesco, sorry your question about validating forms got lost in the chat
The example at the bottom is broken, but the HTML and JS tabs are still a helpful reference