Month: December 2021
Account Record Insert using Apex class in LWC
insertAccountByApex.html insertAccountByApex.js insertAccountByApex.js-meta.xml
Modal Popup Box in Lightning Web Component(LWC)
We can create a popup box by LWC, just like Alert message box in javascript modalPopupBox.html modalPopupBox.js modalPopbox.js-meta.xml
Api Decorator in Lightning Web Component
@api To expose a public method, decorate it with @api. Public methods are part of a component’s API. To communicate down the containment hierarchy, owner and parent components can call JavaScript […]
Wire Decorator in Lightning Web Component
@wire To read Salesforce data, Lightning web components use a reactive wire service. When the wire service provisions data, the component rerenders. Components use @wire in their JavaScript class to specify a wire […]