Which technique can run custom logic when a Lightning web component is loaded?

Which technique can run custom logic when a Lightning web component is loaded?

A. Call SA.enqueueAction and pass in the method to call.

B. Use the renderedCallback () method.

C. Use an <aura:handler> init event to call a function.

D. Use the connected-allbacM) method.

Answer: D

Latest PDII Practice Questions with 280 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments