Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [init]

For questions related to the Init event used in lightning component development. Init is a predefined event sent to every component when component it is initialised.

0
votes
0answers
36 views

Using promises with aura component callbacks

I noticed there a number of questions listed regarding this topic but I don't have the time to parse through all of them and look for the relevant information. I was hoping someone could quickly ...
0
votes
1answer
57 views

On change of designer attribute, init() handler is called again

We are using lightning components in a community. We drag drop the components into a template and configure through designer attributes. For one of such lightning component, there is an init() handler ...
0
votes
0answers
40 views

lightning component if in a tab is not initialized until tab is clicked

So I wrote this component that listens to force:refreshView and I noticed that sometimes the handler is called when the component is not even initialized. Is there a way to force load/render a ...
0
votes
1answer
643 views

Custom Lightning Component not getting refreshed under Utility Bar

I have a component under Utility Bar. When the owner is changed in the case detail. The component needs to pick the latest update and it will show number of cases that logged in user owns. When i ...
0
votes
1answer
26 views

Component attribute set by one method coming as null in second method

I am calling two functions in my lightning bundle init in the following order helper.fetchAccountRequestAddressDetailsHelper(component, event, helper); console.log('before fetch'+component.get("v....
1
vote
1answer
209 views

can parent handle Childs event fired by child during init?

I have a child component <aura:component controller="campingController"> <aura:handler name="init" value="{!this}" action="{!c.doInit}" /> <aura:registerEvent name="add" type="...