StyleParams

interface StyleParams

Basic interface for all StyleParams-classes

Functions

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

Alignment
Link copied to clipboard
BackgroundContext
Link copied to clipboard
Background
Link copied to clipboard
BorderContext
Link copied to clipboard
BordersContext
Link copied to clipboard
RadiiContext
Link copied to clipboard
Border
Link copied to clipboard
Color
Link copied to clipboard
Flexbox
Link copied to clipboard
GridTemplateContext
Link copied to clipboard
GridAreaContext
Link copied to clipboard
GridLayout
Link copied to clipboard
GridContext
Link copied to clipboard
GridRowColumnContext
Link copied to clipboard
FlexItemContext
Link copied to clipboard
Layout
Link copied to clipboard
PositioningContext
Link copied to clipboard
PositionContext
Link copied to clipboard
Position
Link copied to clipboard
PseudoElements
Link copied to clipboard
PseudoClasses
Link copied to clipboard
Shadow
Link copied to clipboard
SpacesContext
Link copied to clipboard
Space
Link copied to clipboard
Typo
Link copied to clipboard

Extensions

property
Link copied to clipboard
js
fun StyleParams.property(key: String, value: Property, target: StringBuilder = smProperties)
sets a property for a given target screen size
fun StyleParams.property(key: String, sm: Property? = null, md: Property? = null, lg: Property? = null, xl: Property? = null)
sets a responsive property for
inline fun <T> StyleParams.property(key: String, base: T, value: T.() -> Property, target: StringBuilder = smProperties)
sets a property derived from the Theme
fun <T> StyleParams.property(key: String, base: T, sm: T.() -> Property? = null, md: T.() -> Property? = null, lg: T.() -> Property? = null, xl: T.() -> Property? = null)
sets a responsive property derived from the Theme
inline fun <T : PropertyValues> StyleParams.property(base: T, value: T.() -> Property)
sets an enum-based property for small-screens (default)
fun <T : PropertyValues> StyleParams.property(base: T, sm: T.() -> Property? = null, md: T.() -> Property? = null, lg: T.() -> Property? = null, xl: T.() -> Property? = null)
sets a responsive enum-based property