How to use settimeout function in the lightning component?
Settimeout Function The setTimeout function is a native JavaScript function. It sets a timer (a countdown set in milliseconds) for the execution of a callback function, calling the function upon completion of the timer. As per doc, Use $A.getCallback() to wrap any code that modifies a component outside the normal…
Answered Aug 17, 2021 · 10.0K Views Read answer →