Author Archives: Santanu

Visual Studio Code for Lightning Web Component

There are many tools to develop Lightning Web Component. In this session, we will see how to set up Visual Studio Code for developing Lightning Web Component. Step 1: Need to install Salesforce CLI (Command Line Interface) using the following … Continue reading

14,451 total views, 3 views today

Posted in Lightning Web Component | Leave a comment

Welcome to Lightning Web Component

Definition Lightning Web Components are built with Custom HTML elements comprises of Salesforce Design Systems and modern Javascript like ES6. Lightning Web Component follows Web Component standards. We can work on Lightning Web Component with the existing web technologies framework. … Continue reading

7,266 total views, 3 views today

Posted in Lightning Web Component | Leave a comment

How to use Salesforce Resources in Lightning Web Component?

9,816 total views, 3 views today

9,816 total views, 3 views today

Posted in Lightning Components | Leave a comment

How to use CSS in Lightning Web Component?

The beauty of Lightning Component Framework is the uniform UI which is consistent in Lightning Design System. So, the styles of Custom Lightning Component and Standard Lightning Component are in uniform. All elements using lightning namespace use Lightning Design System. … Continue reading

102,111 total views, 12 views today

Posted in Lightning Web Component | Leave a comment

How to use Custom Label in Lightning Web Component?

In this session, we will learn how to use Custom Label in Lightning Web Component. To do this exercise, We can consider the first Lightning Web Component named “welcomeWindow“. Step 1: Need to update the welcomeWindow.js-meta.xml to set the visibility … Continue reading

8,493 total views, 6 views today

Posted in Lightning Web Component | Leave a comment

Import/Export JavaScript file in LWC

In ES6 JS architecture, we can export the variables or functions in JS file, so other module can use. Here, we will create simple calculator using import/export functionality in Lightning Web Component framework. Let’s see. Step 1: First, we are … Continue reading

49,644 total views, 15 views today

Posted in Lightning Web Component | Leave a comment

Publish Subscriber model in Lightning Web Component

In this Publish Subscriber model, components are not situated in the same DOM tree or in the same containment hierarchy. If the components want to communicate between themselves, we have to use publish subscriber model in Lightning Web Component, You … Continue reading

27,865 total views, 9 views today

Posted in Lightning Web Component | Leave a comment

Custom Event Communication in Lightning Web Component

Custom Event is used in Lightning Web Components(LWC) to make the communication from Child Component to Parent Component in the containment hierarchy. Lightning Web Components can create and dispatch custom events. Custom Event Rules To create custom events in LWC, … Continue reading

25,158 total views, no views today

Posted in Lightning Web Component | Leave a comment

Communication using Method in LWC

Just like Aura framework, we can call the method of Child Component from the Parent Component. In this communication, flow is from Parent Component to Child Component. We can take one assignment that is when user will enter any phrase, … Continue reading

23,229 total views, no views today

Posted in Lightning Web Component | Leave a comment

What are the type of properties in LWC JS file?

In LWC JS file, we have declared property with camel case to map attribute with kebab case in LWC HTML file.Whenever we will speak about attribute means we are referring HTML file and whenever we will speak about property means … Continue reading

22,923 total views, 6 views today

Posted in Lightning Web Component | Leave a comment