overflow

open fun overflow(value: OverflowValues.() -> OverflowProperty)

This function sets the overflow property of a component for all media devices.

example calls:

overflow { scroll } // use a predefined value

Parameters

value

extension function parameter to bring the predefined values of OverflowValues into the scope of the functional expression

open fun overflow(sm: OverflowValues.() -> OverflowProperty? = null, md: OverflowValues.() -> OverflowProperty? = null, lg: OverflowValues.() -> OverflowProperty? = null, xl: OverflowValues.() -> OverflowProperty? = null)

This function sets the overflow property of a component for each media device independently.

example calls:

overflow { scroll } // use a predefined value

Parameters

lg

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

md

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

sm

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

xl

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