autoFlow

open fun autoFlow(value: AutoFlowValues.() -> AutoFlowProperty)

This function sets the grid-auto-flow property for all media devices.

It is recommended to use the predefined properties of AutoFlowValues as value.

Example call:

autoFlow { row }

See also

Parameters

value

extension function parameter to bring the predefined properties of AutoFlowValues into the scope of the functional expression

open fun autoFlow(sm: AutoFlowValues.() -> AutoFlowProperty? = null, md: AutoFlowValues.() -> AutoFlowProperty? = null, lg: AutoFlowValues.() -> AutoFlowProperty? = null, xl: AutoFlowValues.() -> AutoFlowProperty? = null)

This function sets the grid-auto-flow property for each media device independently.

It is recommended to use the predefined properties of AutoFlowValues as value.

Example call:

autoFlow(
sm = { column },
lg = { row }
)

See also

Parameters

lg

extension function parameter to bring the predefined properties of AutoFlowValues into the scope of the functional expression for large media devices

md

extension function parameter to bring the predefined properties of AutoFlowValues into the scope of the functional expression for medium sized media devices

sm

extension function parameter to bring the predefined properties of AutoFlowValues into the scope of the functional expression for small media devices

xl

extension function parameter to bring the predefined properties of AutoFlowValues into the scope of the functional expression for extra large media devices