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
}
}Parameters
styleParams
basic context scope interface
target
the defined output StringBuilder to write the generated CSS into
Constructors
PositioningContext
Link copied to clipboard
basic context scope interface
Functions
horizontal
Link copied to clipboard
vertical
Link copied to clipboard
Properties
lgProperties
Link copied to clipboard
collects the properties for large screens
mdProperties
Link copied to clipboard
collects the properties for middle-sized screens
smProperties
Link copied to clipboard
collects the properties for small screens
styleParams
Link copied to clipboard
basic context scope interface
xlProperties
Link copied to clipboard
collects the properties for extra-large screens