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

background
Link copied to clipboard
js
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.
equals
Link copied to clipboard
js
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
js
open fun hashCode(): Int
toString
Link copied to clipboard
js
open fun toString(): String

Properties

lgProperties
Link copied to clipboard
js
abstract val lgProperties: StringBuilder
collects the properties for large screens
mdProperties
Link copied to clipboard
js
abstract val mdProperties: StringBuilder
collects the properties for middle-sized screens
smProperties
Link copied to clipboard
js
abstract val smProperties: StringBuilder
collects the properties for small screens
xlProperties
Link copied to clipboard
js
abstract val xlProperties: StringBuilder
collects the properties for extra-large screens

Inheritors

BasicParams
Link copied to clipboard