Jump to another module User Interface (part 1 of 2) User Interface (part 2 of 2) Logic and Process Automation (part 1 of 3) Logic and Process Automation (part 2 of 3) Logic and Process Automation (part 3 of 3) Integration (part 1 of 3) Integration (part 2 of 3) Integration (part 3 of 3) Debug and Deployment Tools Performance (part 1 of 2) Performance (part 2 of 2) Testing (part 1 of 2) Testing (part 2 of 2) Salesforce Fundamentals Data Modeling and Management Question 4 of 33 All questions<lightning:layout multipleRows="true">
<lightning:layoutItem size="12">\{!v.account.Name\}
</lightning:layoutItem>
<lightning:layoutItem size="12">\{!v.account.AccountNumber\}
</lightning:layoutItem>
<lightning:layoutItem size="12">\{!v.account.Industry\}
</lightning:layoutItem>
</lightning:layout>
Refer to the component code above. The information appears as intended (in three rows) on a mobile device. However, it does not display as intended (in one row) on a desktop or tablet.
Which option contains the correct component changes for correct display on desktops and tablets?
A A. <lightning:layout multipleRows="true"> <lightning:layoutItem size="12" mediumDeviceSize="6" largeDeviceSize="4">{!v.account.Name} </lightning:layoutItem> <lightning:layoutItem size="12" mediumDeviceSize="6" largeDeviceSize="4">{!v.account.AccountNumber} </lightning:layoutItem> <lightning:layoutItem size="12" mediumDeviceSize="6" largeDeviceSize="4">{!v.account.Industry} </lightning:layoutItem> </lightning:layout> B B. <lightning:layout multipleRows="true"> <lightning:layoutItem size="12" largeDeviceSize="4">{!v.account.Name} </lightning:layoutItem> <lightning:layoutItem size="12" largeDeviceSize="4">{!v.account.AccountNumber} </lightning:layoutItem> <lightning:layoutItem size="12" largeDeviceSize="4">{!v.account.Industry} </lightning:layoutItem> </lightning:layout> C C. <lightning:layout multipleRows="true"> <lightning:layoutItem size="12" mediumDeviceSize="4">{!v.account.Name} </lightning:layoutItem> <lightning:layoutItem size="12" mediumDeviceSize="4">{!v.account.AccountNumber} </lightning:layoutItem> <lightning:layoutItem size="12" mediumDeviceSize="4">{!v.account.Industry} </lightning:layoutItem> </lightning:layout> D D. <lightning:layout multipleRows="true"> <lightning:layoutItem size="12" mediumDeviceSize="6">{!v.account.Name} </lightning:layoutItem> <lightning:layoutItem size="12" mediumDeviceSize="6">{!v.account.AccountNumber} </lightning:layoutItem> <lightning:layoutItem size="12" mediumDeviceSize="6">{!v.account.Industry} </lightning:layoutItem> </lightning:layout>
Previous Check answer
A –D selectEnter check answerF flag← → move? all shortcuts