Category Archives: Salesforce Lightning

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,233 total views, no views today

Posted in Lightning Web Component | Leave a comment

How to use Salesforce Resources in Lightning Web Component?

9,774 total views, no views today

9,774 total views, no 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

101,481 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,454 total views, 3 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,428 total views, 12 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,775 total views, no 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,026 total views, 6 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,163 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,821 total views, 6 views today

Posted in Lightning Web Component | Leave a comment

How does Lightning Web Component JS file work?

JS file is included by default in Lightning Web Component file tree structure and this JS file must be needed to execute Lightning Web Component. The naming convention of this file is componentName.js. JS files are based on ES6 modules. … Continue reading

9,321 total views, no views today

Posted in Lightning Web Component | Leave a comment