Working in playground of lightning web components. I have following files and code:   basic.html  <template> <div style="height: 300px;">     <lightning-datatable             key-field="id"             data={data}...
I am working with lightning web component and apex class. This is new for me.   I am trying to get the content of a Proxy object generated by an Apex class.  But when I console log it I have a result like this :  Proxy { <target>: {}, <handl...
The LWC synthetic shadow dom doesn't seem to handle slots like the native shadow dom implementation e.g.  Let's say you start with a element:  <hello-there><h1>Hi there</h1></hello-there>   Then you attach the shadow d...
How could we allow User to use only one LWC instance in salesforce?  I'm a newbie in salesforce lightning web components so wanted to set a permission or a code could be useful.  The expected results should be: only one LWC instance should appear...
I recently ran into a problem using Charts JS in Lightning web components. I wanted to share a solution I found for those who run into problems  How to manually handle data changes in a child component when they are updated on the parent. This will w...
My goal is I have number of objects im receiving weekly, each one on these object has date, Full_Name, total_hours, and other fields. I wanna sort these object array by names and by total hours of each day. please only in javascript no jquery  exampl...
I have list/array of objects, it is aligned in a table. I got to implement a search functionality irrespective of any specific field. In other words, whatever I search in the search text box if any field value of the table contains or matches with th...
I have an afterRender function that has an event listener for when the user scrolls down the page, it adds the fixed class to an element. Fixing the element to the page creates a gap that makes all subsequent elements look like they "jump" up...
I need to identify DOM element by id or className ... in aura lightning. I have the piece of component: <ui:inputNumber aura:id="inputWp" class="slds-input" keydown="{!c.handleInput}" updateOn="keydown" value="{...
I am receiving the following error when trying to run my application with react lightning design  ./node_modules/@salesforce/design-system-react/components/button/index.jsx 38:20 Module parse failed: Unexpected token (38:20) You may need an appropria...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.