Positioning Context
@ExperimentalCoroutinesApi
Content copied to clipboard
This context class enables the definition of positioning properties for the four directions of top, right, bottom and left and convenience functions for defining the horizontal or vertical aspects at once.
This enables to define the position as follows:
position { /* it == PositionContext.() */
absolute { /* it == PositioningContext.() */
top { large } // use predefined property of the theme
right { "2em" } // use a custom value
}
}Content copied to clipboard
Parameters
style Params
basic context scope interface
target
the defined output StringBuilder to write the generated CSS into
Constructors
Functions
Link copied to clipboard
This function is used to define the positional behaviour of an element by the bottom property.
Link copied to clipboard
Link copied to clipboard
This function is used to define the positional behaviour of an element by the left property.
Link copied to clipboard
This function is used to define the positional behaviour of an element by the right property.
Link copied to clipboard
This function is used to define the positional behaviour of an element by the top property.
Link copied to clipboard