basis

fun basis(value: FlexBasisValues.() -> FlexBasisProperty)

This function sets the flex-basis CSS property.

example call:

basis { content } // sizing based upon the content of the element

Parameters

value

extension function parameter to bring the predefined values of the FlexBasisValues class into the scope of the expression