Is there any way to call the client-side JS controller on load of lightning component, something like <ui:onload action={!c.redirect}

The use case is I need to redirect users on click of quick action button.


I did something like this

    <aura:handler name="init" value="{!this}" action="{!c.navigate}"/>
| improve this answer | |

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.