Alignment
This context interface offers functions to align or justify elements.
It used in FlexParams and GridParams .
There are overrides for all functions that enable one to define the styling for the different media devices independently.
Functions
Link copied to clipboard
open fun alignContent(value: AlignContentValues.() -> AlignContentProperty)
Content copied to clipboard
This function sets the align-content property
open fun alignContent( sm: AlignContentValues.() -> AlignContentProperty? = null, md: AlignContentValues.() -> AlignContentProperty? = null, lg: AlignContentValues.() -> AlignContentProperty? = null, xl: AlignContentValues.() -> AlignContentProperty? = null)
Content copied to clipboard
This function sets the align-content property for each media device independently.
Link copied to clipboard
This function sets the align-items property
open fun alignItems( sm: AlignItemsValues.() -> AlignItemsProperty? = null, md: AlignItemsValues.() -> AlignItemsProperty? = null, lg: AlignItemsValues.() -> AlignItemsProperty? = null, xl: AlignItemsValues.() -> AlignItemsProperty? = null)
Content copied to clipboard
This function sets the align-items property for each media device independently.
Link copied to clipboard
open fun justifyContent(value: JustifyContentValues.() -> JustifyContentProperty)
Content copied to clipboard
This function sets the justify-content property
open fun justifyContent( sm: JustifyContentValues.() -> JustifyContentProperty? = null, md: JustifyContentValues.() -> JustifyContentProperty? = null, lg: JustifyContentValues.() -> JustifyContentProperty? = null, xl: JustifyContentValues.() -> JustifyContentProperty? = null)
Content copied to clipboard
This function sets the justify-content property for each media device independently.