A UX designer is creating a customer to-do list component to replace the standard salesforce one. Their developer is using a parent child lighting web component (LWC) structure to build the component, creating a parent component for the list and single repeated child component for each to do item with in list which to impact of the LWCs shadow DOM should be consider when designing or developing the style sheets for these components

A UX designer is creating a customer to-do list component to replace the standard salesforce one. Their developer is using a parent child lighting web component (LWC) structure to build the component, creating a parent component for the list and single repeated child component for each to do item with in list which to impact of the LWCs shadow DOM should be consider when designing or developing the style sheets for these components
A . Any needed salesforce lighting design system (SLDS) classes and styles must be imported into both the parents list and child items
B. the css styles defined in the parent list component are not shared with child items
C. any custom styles shared between the list and child items should be imported from a shared css file
D. the css style defined in the parent list component are inherited by child item

Answer: A,B

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments