Position Context
@ExperimentalCoroutinesApi()
Content copied to clipboard
This context class acts as an intermediate context to set the position of an element and to specify the actual positioning concerning the sides distances too.
It offers primarily functions to define the type of the position, like absolute or relative. Further more those functions opens another subcontext named PositioningContext, which brings functions to ultimately define the side distances.
Parameters
styleParams
basic context scope interface
target
the defined output StringBuilder to write the generated CSS into
Constructors
PositionContext
Link copied to clipboard
basic context scope interface
Functions
absolute
Link copied to clipboard
This function sets the
`absolute` value for the position property and opens up the PositioningContext in order to enable the definition of side distances.fixed
Link copied to clipboard
This function sets the
`fixed` value for the position property and opens up the PositioningContext in order to enable the definition of side distances.relative
Link copied to clipboard
This function sets the
`relative` value for the position property and opens up the PositioningContext in order to enable the definition of side distances.sticky
Link copied to clipboard
This function sets the
`sticky` value for the position property and opens up the PositioningContext in order to enable the definition of side distances.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