Grid Area Context
@ExperimentalCoroutinesApi
Content copied to clipboard
This context class is responsible for defining the grid area layout as comfortable and safe as possible.
It contains only one function: row. This function has the purpose to create exactly one row of the grid area. It takes an arbitrary amount of Property parameters, which represent one cell by its name.
One can pass in string literals directly of course, but for good reasons consider an approach, where you manage the string based cell names within a type of container like a Map, List or an `object`.
example call
areas { /* it == GridAreaContext.() */
row("HEADER", "HEADER", "HEADER")
row("MENU", "CONTENT", "CONTENT")
row("FOOTER", "FOOTER", "FOOTER")
}Content copied to clipboard
See also
Constructors
Functions
Link copied to clipboard
This functions creates a single definitions of a row with named cells for the grid template area.