When developing a Lightning web component, which setting displays lightning-layout-items in one column on small devices, such as mobile phones, and in two columns on tables-size and desktop-size screens?
Selected Answer: B
If you specify the size and smallDeviceSize attributes, the size attribute applies to small mobile phones, and the smallDeviceSize applies to smart phones. The sizing attributes are additive and apply to devices of the specified size and larger. For example, if you set mediumDeviceSize=10 and don't set largeDeviceSize, then mediumDeviceSize applies to tablets, desktops, and larger devices. You'd also have to set size to apply to devices smaller than tablets.
Mobile devices are displayed in a single column with small-device-size="12", while larger tablets and desktops are displayed in two columns with the default size="6". Therefore, the correct answer should be B.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
dasabhisek404
4 months agoFriedConsole2000
8 months, 2 weeks agoamm12345
1 year ago[Removed]
1 year, 2 months agoAppleDash
1 year, 8 months ago