Lightning · Lightning Web Components

LWC with Aura Components,Calling controller from LWC,LDS in LWC

Calling controller from LWC: Lightning web components can import methods from Apex classes into the JavaScript classes using ES6 import.Once after importing the apex class method you can able to call the apex methods as functions into the component by calling either via the wire service or imperatively. Import Syntax import apexMethod from’@salesforce/apex/Namespace.Classname.apexMethod’; apexMethod :… Continue reading LWC with Aura Components,Calling controller from LWC,LDS in LWC