Valid Plat-Dev-301 Dumps shared by EduDump.com for Helping Passing Plat-Dev-301 Exam! EduDump.com now offer the newest Plat-Dev-301 exam dumps, the EduDump.com Plat-Dev-301 exam questions have been updated and answers have been corrected get the newest EduDump.com Plat-Dev-301 dumps with Test Engine here:
A developer needs to add code to a Lightning web component's configuration file so the component only renders for a desktop size form factor when on a record page. What should the developer add to the component's record page target configuration to meet this requirement? A) B) C) D)
Correct Answer: B
When you want a Lightning web component to only render for a specific form factor, you can use the <targets> tag within the component's .xml configuration file. To specify that the component should only appear on a desktop, you use the <targetConfig> tag with the targets="lightning__RecordPage" attribute and nest a <supportedFormFactors> tag inside it. Within this tag, you include a <supportedFormFactor> tag with the attribute type="Large". Option B is the correct markup to ensure that the component only appears for the desktop form factor on a record page. Lightning Web Components Developer Guide - Configure Components for Lightning Experience and the Salesforce Mobile App