You need to sign in to do that
Don't have an account?
thoriyas
Any alternate way to create aura onclick event...? Ex: '<div onclick="{!c.doSomething}">'
I'm trying to create HTML dynamically in aura component from Helper JS
For Example hare i'm creating div from the helper JS and append it into the component body.
'<div onclick="{!c.doSomething}">' if i directly append this then it would obviously not work not work.
Any Alternate way for this ?
Andy Boettcher
Normally in Visualforce, this would be a "rerender", however it is different in Lightning of course - read through this link on how to replace/append HTML to containers in Lightning: http://salesforce.stackexchange.com/questions/82589/lightning-rerender-a-forcerecordview