1

With dynamic create can I set body after doinit in c:customcomponent will finish

 $A.createComponent("c:customcomponent",{idi: id,

       function(components, status, errorMessage){
    if (status === "SUCCESS") {
        var message = components[0];
        message.set("v.body", message);
    }

}
},
  • Can you explain more about the scenario, what you are trying to achieve? – Bhawna Apr 17 '18 at 7:46
  • Ok, so. I trying display modal after load to them all information from apex. I don't know how much time apex will need to calculate. But sometimes I call to check information 3 time per 5 minutes – JJanek Apr 27 '18 at 11:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.