Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam Certified Platform Developer II topic 1 question 293 discussion

Actual exam question from Salesforce's Certified Platform Developer II
Question #: 293
Topic #: 1
[All Certified Platform Developer II Questions]

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?

  • A. Set size=“6” mobile-device-size=“12”
  • B. Set size=“6” small-device-size=“12”
  • C. Set size=“12” medium-device-size=“6”
  • D. Set size=“12” tablet-device-size=“6”
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
FriedConsole2000
2 months, 3 weeks ago
Selected Answer: C
"C" Size is the total size and you divide the value of the device size for the number of columns.
upvoted 1 times
...
amm12345
6 months, 3 weeks ago
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.
upvoted 1 times
...
[Removed]
8 months, 3 weeks ago
Selected Answer: B
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.
upvoted 1 times
...
AppleDash
1 year, 2 months ago
https://developer.salesforce.com/docs/component-library/bundle/lightning:layoutItem/example#lightningcomponentdemo:exampleLayoutItemsSizeOverrides
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
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.

SaveCancel
Loading ...