repeat
Function to create the CSS repeat function.
This variant is specialized for integer based repetition.
If you want to pass a predefined value like minContent or alike, use the other variant.
Parameters
amount of cells / cell patterns to repeat
extension function parameter in order to bring the predefined values from GridTemplateContext into the scope of the functional expression
Function to create the CSS repeat function.
This variant is specialized for property based repetition, which works best if you want to apply one of the predefined values like minContent or similar.
If you want to pass an integer value use the other variant.
Parameters
property of cells / cell patterns to repeat; best used with the predefined properties of this class like autoFill or similar.
extension function parameter in order to bring the predefined values from GridTemplateContext into the scope of the functional expression