Layout
This context interface offers different functions to define or affect the fundamental layout of the whole page, a container within the page or an element itself.
There are always two variants of the same function; one for applying to all media devices at once and another to specify the functionality for each media device independently.
Functions
css
Link copied to clipboard
display
Link copied to clipboard
open fun display(sm: DisplayValues.() -> DisplayProperty? = null, md: DisplayValues.() -> DisplayProperty? = null, lg: DisplayValues.() -> DisplayProperty? = null, xl: DisplayValues.() -> DisplayProperty? = null)
Content copied to clipboard
This function sets the display property of a component for each media device independently.
flex
Link copied to clipboard
open fun flex(sm: FlexItemContext.() -> Unit? = null, md: FlexItemContext.() -> Unit? = null, lg: FlexItemContext.() -> Unit? = null, xl: FlexItemContext.() -> Unit? = null)
Content copied to clipboard
grid
Link copied to clipboard
open fun grid(sm: GridContext.() -> Unit? = null, md: GridContext.() -> Unit? = null, lg: GridContext.() -> Unit? = null, xl: GridContext.() -> Unit? = null)
Content copied to clipboard
height
Link copied to clipboard
open fun height(sm: SizesProperty? = null, md: SizesProperty? = null, lg: SizesProperty? = null, xl: SizesProperty? = null)
Content copied to clipboard
This function sets the height property of a component for each media device independently.
maxHeight
Link copied to clipboard
open fun maxHeight(sm: SizesProperty? = null, md: SizesProperty? = null, lg: SizesProperty? = null, xl: SizesProperty? = null)
Content copied to clipboard
This function sets the max-height property of a component for all media devices.
maxWidth
Link copied to clipboard
open fun maxWidth(sm: SizesProperty? = null, md: SizesProperty? = null, lg: SizesProperty? = null, xl: SizesProperty? = null)
Content copied to clipboard
This function sets the max-width property of a component for all media devices.
minHeight
Link copied to clipboard
open fun minHeight(sm: SizesProperty? = null, md: SizesProperty? = null, lg: SizesProperty? = null, xl: SizesProperty? = null)
Content copied to clipboard
This function sets the min-height property of a component for all media devices.
minWidth
Link copied to clipboard
open fun minWidth(sm: SizesProperty? = null, md: SizesProperty? = null, lg: SizesProperty? = null, xl: SizesProperty? = null)
Content copied to clipboard
This function sets the min-width property of a component for all media devices.
overflow
Link copied to clipboard
open fun overflow(sm: OverflowValues.() -> OverflowProperty? = null, md: OverflowValues.() -> OverflowProperty? = null, lg: OverflowValues.() -> OverflowProperty? = null, xl: OverflowValues.() -> OverflowProperty? = null)
Content copied to clipboard
This function sets the overflow property of a component for each media device independently.
overflowX
Link copied to clipboard
open fun overflowX(sm: OverflowXValues.() -> OverflowProperty? = null, md: OverflowXValues.() -> OverflowProperty? = null, lg: OverflowXValues.() -> OverflowProperty? = null, xl: OverflowXValues.() -> OverflowProperty? = null)
Content copied to clipboard
This function sets the overflow-x property of a component for all media devices.
overflowY
Link copied to clipboard
open fun overflowY(sm: OverflowYValues.() -> OverflowProperty? = null, md: OverflowYValues.() -> OverflowProperty? = null, lg: OverflowYValues.() -> OverflowProperty? = null, xl: OverflowYValues.() -> OverflowProperty? = null)
Content copied to clipboard
This function sets the overflow-y property of a component for all media devices.
size
Link copied to clipboard
open fun size(sm: SizesProperty? = null, md: SizesProperty? = null, lg: SizesProperty? = null, xl: SizesProperty? = null)
Content copied to clipboard
verticalAlign
Link copied to clipboard
open fun verticalAlign(value: VerticalAlignValues.() -> VerticalAlignProperty)
Content copied to clipboard
This function sets the vertical-align property of a component for all media devices.
open fun verticalAlign(sm: VerticalAlignValues.() -> VerticalAlignProperty? = null, md: VerticalAlignValues.() -> VerticalAlignProperty? = null, lg: VerticalAlignValues.() -> VerticalAlignProperty? = null, xl: VerticalAlignValues.() -> VerticalAlignProperty? = null)
Content copied to clipboard
This function sets the vertical-align property of a component for each media device independently.
width
Link copied to clipboard
open fun width(sm: SizesProperty? = null, md: SizesProperty? = null, lg: SizesProperty? = null, xl: SizesProperty? = null)
Content copied to clipboard
This function sets the width property of a component for each media device independently.
Properties
lgProperties
Link copied to clipboard
mdProperties
Link copied to clipboard
smProperties
Link copied to clipboard
xlProperties
Link copied to clipboard
Inheritors
BasicParams
Link copied to clipboard