Category: Lightning Web Component

Test LWC with Jest

Jest is a powerful JavaScript testing framework for the client-side project. It’s supported in any React Application, Node, Babel, TypeScript as well as Salesforce Lightning Web Component.Jest uses jsdom to provide an environment like...

17,405 total views, 9 views today

DOM Manipulation in Lightning Web Component

DOM Manipulation in Lightning Web Component

In this session, we will learn how to manipulate DOM Tree in Lightning Web Component. What is DOM? The acronym of DOM is “Document Object Model”. DOM is a programming API for HTML &...

21,731 total views, 6 views today

Showing Static Record using Apex to Wire Mechanism

Now, we will see how to get Salesforce data as static way using Apex. We have built a LWC named “showWireApexStaticContact“. Step 1: We have created an Apex Class named “LWC_ContactController” by which we...

9,366 total views, 18 views today

Showing Static Record using Apex to Imperative Mechanism

Now, we will see how to get Salesforce data as static way using Apex with Imperative way. We have built a LWC named “showImperativeApexStaticContact“. Step 1: We have created an Apex Class named “LWC_ContactController”...

7,852 total views, 3 views today

Apex Imperative Method with Parameters

Now, we will study how to get data based on some parameters from Lightning Platform Database using Imperative Way with Parameters in Lightning Web Component. To do this exercise, we will show the Contact...

73,720 total views, 15 views today