Background

interface Background : StyleParams

This context interface offers functions to style the background related CSS properties of a component.

It basically offers only two common functions to leverage the specific functions of BackgroundContext to define the real styling; one for the default media device and one for defining the background for multiple media devices.

Functions

Link copied to clipboard
open fun background(value: BackgroundContext.() -> Unit)

This function opens the context for defining the background related properties for all media devices.

open fun background(    sm: BackgroundContext.() -> Unit? = null,     md: BackgroundContext.() -> Unit? = null,     lg: BackgroundContext.() -> Unit? = null,     xl: BackgroundContext.() -> Unit? = null)

This function opens the context for defining the background related properties for each media device independently.

Properties

Link copied to clipboard
abstract val lgProperties: StringBuilder

collects the properties for large screens

Link copied to clipboard
abstract val mdProperties: StringBuilder

collects the properties for middle-sized screens

Link copied to clipboard
abstract val smProperties: StringBuilder

collects the properties for small screens

Link copied to clipboard
abstract val xlProperties: StringBuilder

collects the properties for extra-large screens

Inheritors

Link copied to clipboard