LayoutApi
You can use the Layout utility to adjust your content based on the user's screen size.
Layout returns 'compact'
on mobile devices and at narrow screen widths, and 'regular'
otherwise.
Name | Type | Description |
---|---|---|
horizontal | "regular" | "compact" |