Questions tagged [web-components]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
52 views

In Salesforce LWC lightning-datatable unable find the current selected or un selected record

In Salesforce LWC lightning-datatable unable find the current selected or un selected record As per documentation "onrowselection" call back always giving records which is selected. I need to fetch ...
0
votes
1answer
54 views

Sending Wrapper object to Apex from Javascript in LWC

I have a question regarding the operation of the wrappers classes in lwc. I have an apex method which has as an input parameter an object of the wrapper class. FIRST IMAGE: SECOND IMAGE: The ...
3
votes
0answers
67 views

Pass data to web component (angular 6) inside LWC (Lightning Web Component)

I have Angular 8 app defined as web component and I have Lightning Web Component (LWC) app. Inside LWC I am trying to pass data into web component through the property of DOM element like this....
0
votes
0answers
13 views

Cannot remove scrollbar of background lightning page

I am having some issue in lwc. I have created a button component. On clicking on the button a modal box popups. Now, if a user scrolls outside of modal box the whole page page moves. So, I want to ...
0
votes
1answer
134 views

Cannot add a class to body tag in lwc

I am trying to add 'overflow: hidden !important' property in body tag of lightning page. For this, i did the following document.body.style.overflow = 'hidden !important' Unfortunately, it didnot ...
0
votes
0answers
31 views

How to convert LWC pages into PDF format? [duplicate]

My current requirement is to convert LWC page into PDF format. I tried built in 're-render as PDF' option though VF page. But it does not look good & i am not able to add Graphs/Charts into it. ...
1
vote
1answer
542 views

When to use Slots vs Public Properties vs Getter Properties in LWC exactly?

I am learning LWC and I understood the concept of Slots & Public Properties. But I am not clear regarding when, in which conditions should we use Slots, Public Properties (@api) and Getter ...
3
votes
1answer
588 views

Lightning Web component and Aura component performance difference due to the change in architecture

I am new to salesforce lightning web component.I did some of the example and found that lightning web component is way more faster than Aura component. This is due to the web stack architecture of ...
4
votes
1answer
1k views

When can I extend custom component in LWC?

As a general implementation guidelines of LWC, we should be extending standard LWC elements. Examples are: export default class MyComponent extends LightningElement (Most used) export default class ...