Shadow

interface Shadow : StyleParams

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

It offers functions to define box-shadow and text-shadow properties.

There are overrides for all functions that enable one to define the styling for the different media devices independently.

Functions

boxShadow
Link copied to clipboard
js
open fun boxShadow(value: Shadows.() -> Property)
This function sets the box-shadow property.
open fun boxShadow(sm: Shadows.() -> Property? = null, md: Shadows.() -> Property? = null, lg: Shadows.() -> Property? = null, xl: Shadows.() -> Property? = null)
This function sets the box-shadow property 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
textShadow
Link copied to clipboard
js
open fun textShadow(value: Shadows.() -> Property)
This function sets the text-shadow property.
open fun textShadow(sm: Shadows.() -> Property? = null, md: Shadows.() -> Property? = null, lg: Shadows.() -> Property? = null, xl: Shadows.() -> Property? = null)
This function sets the text-shadow property for each media device independently.
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