justifyContent

open fun justifyContent(value: JustifyContentValues.() -> JustifyContentProperty)

This function sets the justify-content property

Example call:

justify-content { flexStart }

Parameters

value

extension function parameter for small media devices, recommended to use predefined values from JustifyContentValues

This function sets the justify-content property for each media device independently.

Example call:

justify-content(
sm = { flexStart },
lg = { center }
)

Parameters

lg

extension function parameter for large media devices, recommended to use predefined values via JustifyContentValues

md

extension function parameter for medium sized media devices, recommended to use predefined values via JustifyContentValues

sm

extension function parameter for small media devices, recommended to use predefined values from JustifyContentValues

xl

extension function parameter for extra large media devices, recommended to use predefined values via JustifyContentValues