Category Lightning Components

Discussion about only related to Lightning Components.

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 a browser’s Document Object Model(DOM). Jest…

18,900 total views, 3 views today

Apex Wire Method to Property

Now, we will see how we can get the Salesforce Record details using Apex Class – Wiring to Property mechanism. To do this exercise, we will try to show a Contact Record in Lightning App. Step 1: We have created…

9,625 total views, 6 views today

Lightning Testing Service with Jasmine

Lightning Testing Service:  Salesforce has already provided the Apex Testing framework to check the features in your Apex classes and triggers at the server side. Now, the question is how to test the Lightning Component at the client side. Lightning Testing…

5,605 total views, 3 views today

How to use method in Lightning Component?

You can call a method using aura:method tag in a component’s client side controller instead of using Component Event. In short, aura:method communicates down the Containment Hierarchy that means a Parent Component can call aura:method on a child component in the…

5,849 total views, 3 views today

Lightning Flow Overview

According to Salesforce, Lightning Flow consists of Process Builder and Cloud Flow Designer. Process Builder is responsible to create process when record is created/updated or any platform event is occurred. Cloud Flow Designer is used to create flows which is…

3,372 total views, 2 views today