Box Params
interface combining flex-style-parameters with grid and basic style-parameters
Functions
active
Link copied to clipboard
after
Link copied to clipboard
alignContent
Link copied to clipboard
open fun alignContent(value: AlignContentValues.() -> AlignContentProperty)
Content copied to clipboard
open fun alignContent(sm: AlignContentValues.() -> AlignContentProperty? = null, md: AlignContentValues.() -> AlignContentProperty? = null, lg: AlignContentValues.() -> AlignContentProperty? = null, xl: AlignContentValues.() -> AlignContentProperty? = null)
Content copied to clipboard
This function sets the align-content property for each media device independently.
alignItems
Link copied to clipboard
open fun alignItems(sm: AlignItemsValues.() -> AlignItemsProperty? = null, md: AlignItemsValues.() -> AlignItemsProperty? = null, lg: AlignItemsValues.() -> AlignItemsProperty? = null, xl: AlignItemsValues.() -> AlignItemsProperty? = null)
Content copied to clipboard
This function sets the align-items property for each media device independently.
anyLink
Link copied to clipboard
areas
Link copied to clipboard
This function opens a context (GridTemplateContext) to specify the overall layout of a grid layout via the grid-template-areas CSS property for all media devices.
open fun areas(sm: GridAreaContext.() -> Unit? = null, md: GridAreaContext.() -> Unit? = null, lg: GridAreaContext.() -> Unit? = null, xl: GridAreaContext.() -> Unit? = null)
Content copied to clipboard
This function opens a context (GridTemplateContext) to specify the overall layout of a grid layout via the grid-template-areas CSS property for each media device independently.
autoColumns
Link copied to clipboard
This function opens a context (GridTemplateContext) to specify the auto columns layout of a grid layout via the grid-auto-columns CSS property for all media devices.
open fun autoColumns(sm: GridTemplateContext.() -> Property? = null, md: GridTemplateContext.() -> Property? = null, lg: GridTemplateContext.() -> Property? = null, xl: GridTemplateContext.() -> Property? = null)
Content copied to clipboard
This function opens a context (GridTemplateContext) to specify the auto columns layout of a grid layout via the grid-auto-columns CSS property for each media device independently.
autoFlow
Link copied to clipboard
open fun autoFlow(sm: AutoFlowValues.() -> AutoFlowProperty? = null, md: AutoFlowValues.() -> AutoFlowProperty? = null, lg: AutoFlowValues.() -> AutoFlowProperty? = null, xl: AutoFlowValues.() -> AutoFlowProperty? = null)
Content copied to clipboard
This function sets the grid-auto-flow property for each media device independently.
autoRows
Link copied to clipboard
This function opens a context (GridTemplateContext) to specify the auto rows layout of a grid layout via the grid-auto-rows CSS property for all media devices.
open fun autoRows(sm: GridTemplateContext.() -> Property? = null, md: GridTemplateContext.() -> Property? = null, lg: GridTemplateContext.() -> Property? = null, xl: GridTemplateContext.() -> Property? = null)
Content copied to clipboard
This function opens a context (GridTemplateContext) to specify the auto rows layout of a grid layout via the grid-auto-rows CSS property for each media device independently.
background
Link copied to clipboard
open fun background(sm: BackgroundContext.() -> Unit? = null, md: BackgroundContext.() -> Unit? = null, lg: BackgroundContext.() -> Unit? = null, xl: BackgroundContext.() -> Unit? = null)
Content copied to clipboard
before
Link copied to clipboard
blank
Link copied to clipboard
border
Link copied to clipboard
open fun border(sm: BorderContext.() -> Unit? = null, md: BorderContext.() -> Unit? = null, lg: BorderContext.() -> Unit? = null, xl: BorderContext.() -> Unit? = null)
Content copied to clipboard
borders
Link copied to clipboard
open fun borders(sm: BordersContext.() -> Unit? = null, md: BordersContext.() -> Unit? = null, lg: BordersContext.() -> Unit? = null, xl: BordersContext.() -> Unit? = null)
Content copied to clipboard
boxShadow
Link copied to clipboard
This function sets the box-shadow property.
checked
Link copied to clipboard
children
Link copied to clipboard
color
Link copied to clipboard
open fun color(sm: Colors.() -> ColorProperty? = null, md: Colors.() -> ColorProperty? = null, lg: Colors.() -> ColorProperty? = null, xl: Colors.() -> ColorProperty? = null)
Content copied to clipboard
This function sets the color property for each media device independently.
columnGap
Link copied to clipboard
open fun columnGap(sm: ScaledValueProperty? = null, md: ScaledValueProperty? = null, lg: ScaledValueProperty? = null, xl: ScaledValueProperty? = null)
Content copied to clipboard
This function sets the column-gap property for each media device independently.
columns
Link copied to clipboard
This function opens a context (GridTemplateContext) to specify the column layout of a grid layout via the grid-template-columns CSS property for all media devices.
open fun columns(sm: GridTemplateContext.() -> Property? = null, md: GridTemplateContext.() -> Property? = null, lg: GridTemplateContext.() -> Property? = null, xl: GridTemplateContext.() -> Property? = null)
Content copied to clipboard
This function opens a context (GridTemplateContext) to specify the column layout of a grid layout via the grid-template-columns CSS property for each media device independently.
css
Link copied to clipboard
current
Link copied to clipboard
default
Link copied to clipboard
dir
Link copied to clipboard
direction
Link copied to clipboard
open fun direction(sm: DirectionValues.() -> DirectionProperty? = null, md: DirectionValues.() -> DirectionProperty? = null, lg: DirectionValues.() -> DirectionProperty? = null, xl: DirectionValues.() -> DirectionProperty? = null)
Content copied to clipboard
This function sets the flex-direction property for each media device independently.
disabled
Link copied to clipboard
display
Link copied to clipboard
open fun display(sm: DisplayValues.() -> DisplayProperty? = null, md: DisplayValues.() -> DisplayProperty? = null, lg: DisplayValues.() -> DisplayProperty? = null, xl: DisplayValues.() -> DisplayProperty? = null)
Content copied to clipboard
This function sets the display property of a component for each media device independently.
empty
Link copied to clipboard
enabled
Link copied to clipboard
first
Link copied to clipboard
firstChild
Link copied to clipboard
firstLetter
Link copied to clipboard
firstLine
Link copied to clipboard
firstOfType
Link copied to clipboard
fitContent
Link copied to clipboard
flex
Link copied to clipboard
open fun flex(sm: FlexItemContext.() -> Unit? = null, md: FlexItemContext.() -> Unit? = null, lg: FlexItemContext.() -> Unit? = null, xl: FlexItemContext.() -> Unit? = null)
Content copied to clipboard
focus
Link copied to clipboard
focusVisible
Link copied to clipboard
focusWithin
Link copied to clipboard
fontFamily
Link copied to clipboard
fontSize
Link copied to clipboard
open fun fontSize(sm: ScaledValueProperty? = null, md: ScaledValueProperty? = null, lg: ScaledValueProperty? = null, xl: ScaledValueProperty? = null)
Content copied to clipboard
This function sets the font-size property for each media device independently.
fontStyle
Link copied to clipboard
open fun fontStyle(sm: FontStyles.() -> FontStyleProperty? = null, md: FontStyles.() -> FontStyleProperty? = null, lg: FontStyles.() -> FontStyleProperty? = null, xl: FontStyles.() -> FontStyleProperty? = null)
Content copied to clipboard
This function sets the font-style property for each media device independently.
fontWeight
Link copied to clipboard
open fun fontWeight(sm: FontWeights.() -> FontWeightProperty? = null, md: FontWeights.() -> FontWeightProperty? = null, lg: FontWeights.() -> FontWeightProperty? = null, xl: FontWeights.() -> FontWeightProperty? = null)
Content copied to clipboard
This function sets the font-weight property for each media device independently.
fullscreen
Link copied to clipboard
future
Link copied to clipboard
gap
Link copied to clipboard
open fun gap(sm: ScaledValueProperty? = null, md: ScaledValueProperty? = null, lg: ScaledValueProperty? = null, xl: ScaledValueProperty? = null)
Content copied to clipboard
grammarError
Link copied to clipboard
grid
Link copied to clipboard
open fun grid(sm: GridContext.() -> Unit? = null, md: GridContext.() -> Unit? = null, lg: GridContext.() -> Unit? = null, xl: GridContext.() -> Unit? = null)
Content copied to clipboard
height
Link copied to clipboard
open fun height(sm: SizesProperty? = null, md: SizesProperty? = null, lg: SizesProperty? = null, xl: SizesProperty? = null)
Content copied to clipboard
This function sets the height property of a component for each media device independently.
hover
Link copied to clipboard
indeterminate
Link copied to clipboard
inRange
Link copied to clipboard
invalid
Link copied to clipboard
invoke
Link copied to clipboard
justifyContent
Link copied to clipboard
open fun justifyContent(value: JustifyContentValues.() -> JustifyContentProperty)
Content copied to clipboard
open fun justifyContent(sm: JustifyContentValues.() -> JustifyContentProperty? = null, md: JustifyContentValues.() -> JustifyContentProperty? = null, lg: JustifyContentValues.() -> JustifyContentProperty? = null, xl: JustifyContentValues.() -> JustifyContentProperty? = null)
Content copied to clipboard
This function sets the justify-content property for each media device independently.
lang
Link copied to clipboard
lastChild
Link copied to clipboard
lastOfType
Link copied to clipboard
left
Link copied to clipboard
letterSpacing
Link copied to clipboard
open fun letterSpacing(sm: ScaledValueProperty? = null, md: ScaledValueProperty? = null, lg: ScaledValueProperty? = null, xl: ScaledValueProperty? = null)
Content copied to clipboard
This function sets the letter-spacing property for each media device independently.
lineHeight
Link copied to clipboard
open fun lineHeight(sm: ScaledValueProperty? = null, md: ScaledValueProperty? = null, lg: ScaledValueProperty? = null, xl: ScaledValueProperty? = null)
Content copied to clipboard
This function sets the line-height property for each media device independently.
link
Link copied to clipboard
localLink
Link copied to clipboard
margin
Link copied to clipboard
open fun margin(sm: ScaledValueProperty? = null, md: ScaledValueProperty? = null, lg: ScaledValueProperty? = null, xl: ScaledValueProperty? = null)
Content copied to clipboard
This function sets the margin property for each media device independently.
margins
Link copied to clipboard
open fun margins(sm: SpacesContext.() -> Unit? = null, md: SpacesContext.() -> Unit? = null, lg: SpacesContext.() -> Unit? = null, xl: SpacesContext.() -> Unit? = null)
Content copied to clipboard
marker
Link copied to clipboard
maxHeight
Link copied to clipboard
open fun maxHeight(sm: SizesProperty? = null, md: SizesProperty? = null, lg: SizesProperty? = null, xl: SizesProperty? = null)
Content copied to clipboard
This function sets the max-height property of a component for all media devices.
maxWidth
Link copied to clipboard
open fun maxWidth(sm: SizesProperty? = null, md: SizesProperty? = null, lg: SizesProperty? = null, xl: SizesProperty? = null)
Content copied to clipboard
This function sets the max-width property of a component for all media devices.
minHeight
Link copied to clipboard
open fun minHeight(sm: SizesProperty? = null, md: SizesProperty? = null, lg: SizesProperty? = null, xl: SizesProperty? = null)
Content copied to clipboard
This function sets the min-height property of a component for all media devices.
minWidth
Link copied to clipboard
open fun minWidth(sm: SizesProperty? = null, md: SizesProperty? = null, lg: SizesProperty? = null, xl: SizesProperty? = null)
Content copied to clipboard
This function sets the min-width property of a component for all media devices.
not
Link copied to clipboard
nthChild
Link copied to clipboard
nthLastChild
Link copied to clipboard
nthLastOfType
Link copied to clipboard
nthOfType
Link copied to clipboard
onlyChild
Link copied to clipboard
onlyOfType
Link copied to clipboard
opacity
Link copied to clipboard
open fun opacity(sm: WeightedValueProperty? = null, md: WeightedValueProperty? = null, lg: WeightedValueProperty? = null, xl: WeightedValueProperty? = null)
Content copied to clipboard
This function sets the opacity property for each media device independently.
optional
Link copied to clipboard
outOfRange
Link copied to clipboard
overflow
Link copied to clipboard
open fun overflow(sm: OverflowValues.() -> OverflowProperty? = null, md: OverflowValues.() -> OverflowProperty? = null, lg: OverflowValues.() -> OverflowProperty? = null, xl: OverflowValues.() -> OverflowProperty? = null)
Content copied to clipboard
This function sets the overflow property of a component for each media device independently.
overflowX
Link copied to clipboard
open fun overflowX(sm: OverflowXValues.() -> OverflowProperty? = null, md: OverflowXValues.() -> OverflowProperty? = null, lg: OverflowXValues.() -> OverflowProperty? = null, xl: OverflowXValues.() -> OverflowProperty? = null)
Content copied to clipboard
This function sets the overflow-x property of a component for all media devices.
overflowY
Link copied to clipboard
open fun overflowY(sm: OverflowYValues.() -> OverflowProperty? = null, md: OverflowYValues.() -> OverflowProperty? = null, lg: OverflowYValues.() -> OverflowProperty? = null, xl: OverflowYValues.() -> OverflowProperty? = null)
Content copied to clipboard
This function sets the overflow-y property of a component for all media devices.
padding
Link copied to clipboard
open fun padding(sm: ScaledValueProperty? = null, md: ScaledValueProperty? = null, lg: ScaledValueProperty? = null, xl: ScaledValueProperty? = null)
Content copied to clipboard
This function sets the padding property for each media device independently.
paddings
Link copied to clipboard
open fun paddings(sm: SpacesContext.() -> Unit? = null, md: SpacesContext.() -> Unit? = null, lg: SpacesContext.() -> Unit? = null, xl: SpacesContext.() -> Unit? = null)
Content copied to clipboard
position
Link copied to clipboard
open fun position(sm: PositionContext.() -> Unit? = null, md: PositionContext.() -> Unit? = null, lg: PositionContext.() -> Unit? = null, xl: PositionContext.() -> Unit? = null)
Content copied to clipboard
This function sets the position CSS property of an element for each media device independently.
radii
Link copied to clipboard
open fun radii(sm: RadiiContext.() -> Unit? = null, md: RadiiContext.() -> Unit? = null, lg: RadiiContext.() -> Unit? = null, xl: RadiiContext.() -> Unit? = null)
Content copied to clipboard
This function opens the context for defining the radius related properties for each corner and for each media device independentlyExample call:
radii(
sm = {
// some functions of [RadiiContext] with appropriate values for *all devices*
},
lg = {
// some functions of [RadiiContext] with appropriate values for *all devices*
}
}
radius
Link copied to clipboard
open fun radius(sm: ScaledValueProperty? = null, md: ScaledValueProperty? = null, lg: ScaledValueProperty? = null, xl: ScaledValueProperty? = null)
Content copied to clipboard
readOnly
Link copied to clipboard
readWrite
Link copied to clipboard
required
Link copied to clipboard
right
Link copied to clipboard
root
Link copied to clipboard
rowGap
Link copied to clipboard
open fun rowGap(sm: ScaledValueProperty? = null, md: ScaledValueProperty? = null, lg: ScaledValueProperty? = null, xl: ScaledValueProperty? = null)
Content copied to clipboard
This function sets the row-gap property for each media device independently.
rows
Link copied to clipboard
This function opens a context (GridTemplateContext) to specify the row layout of a grid layout via the grid-template-rows CSS property for all media devices.
open fun rows(sm: GridTemplateContext.() -> Property? = null, md: GridTemplateContext.() -> Property? = null, lg: GridTemplateContext.() -> Property? = null, xl: GridTemplateContext.() -> Property? = null)
Content copied to clipboard
This function opens a context (GridTemplateContext) to specify the row layout of a grid layout via the grid-template-rows CSS property for each media device independently.
scope
Link copied to clipboard
selection
Link copied to clipboard
size
Link copied to clipboard
open fun size(sm: SizesProperty? = null, md: SizesProperty? = null, lg: SizesProperty? = null, xl: SizesProperty? = null)
Content copied to clipboard
spellingError
Link copied to clipboard
target
Link copied to clipboard
textAlign
Link copied to clipboard
open fun textAlign(sm: TextAligns.() -> TextAlignProperty? = null, md: TextAligns.() -> TextAlignProperty? = null, lg: TextAligns.() -> TextAlignProperty? = null, xl: TextAligns.() -> TextAlignProperty? = null)
Content copied to clipboard
This function sets the text-align property for each media device independently.
textDecoration
Link copied to clipboard
open fun textDecoration(value: TextDecorations.() -> TextDecorationProperty)
Content copied to clipboard
open fun textDecoration(sm: TextDecorations.() -> TextDecorationProperty? = null, md: TextDecorations.() -> TextDecorationProperty? = null, lg: TextDecorations.() -> TextDecorationProperty? = null, xl: TextDecorations.() -> TextDecorationProperty? = null)
Content copied to clipboard
This function sets the text-decoration property for each media device independently.
textShadow
Link copied to clipboard
textTransform
Link copied to clipboard
open fun textTransform(value: TextTransforms.() -> TextTransformProperty)
Content copied to clipboard
open fun textTransform(sm: TextTransforms.() -> TextTransformProperty? = null, md: TextTransforms.() -> TextTransformProperty? = null, lg: TextTransforms.() -> TextTransformProperty? = null, xl: TextTransforms.() -> TextTransformProperty? = null)
Content copied to clipboard
This function sets the text-transform property for each media device independently.
valid
Link copied to clipboard
verticalAlign
Link copied to clipboard
open fun verticalAlign(value: VerticalAlignValues.() -> VerticalAlignProperty)
Content copied to clipboard
This function sets the vertical-align property of a component for all media devices.
open fun verticalAlign(sm: VerticalAlignValues.() -> VerticalAlignProperty? = null, md: VerticalAlignValues.() -> VerticalAlignProperty? = null, lg: VerticalAlignValues.() -> VerticalAlignProperty? = null, xl: VerticalAlignValues.() -> VerticalAlignProperty? = null)
Content copied to clipboard
This function sets the vertical-align property of a component for each media device independently.
visited
Link copied to clipboard
width
Link copied to clipboard
open fun width(sm: SizesProperty? = null, md: SizesProperty? = null, lg: SizesProperty? = null, xl: SizesProperty? = null)
Content copied to clipboard
This function sets the width property of a component for each media device independently.
wrap
Link copied to clipboard
open fun wrap(sm: WrapValues.() -> WrapProperty? = null, md: WrapValues.() -> WrapProperty? = null, lg: WrapValues.() -> WrapProperty? = null, xl: WrapValues.() -> WrapProperty? = null)
Content copied to clipboard
This function sets the flex-wrap property for each media device independently.
zIndex
Link copied to clipboard
open fun zIndex(sm: ZIndicesProperty? = null, md: ZIndicesProperty? = null, lg: ZIndicesProperty? = null, xl: ZIndicesProperty? = null)
Content copied to clipboard
This function sets the z-index CSS property of an element for each media device independently.
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
xlProperties
Link copied to clipboard
collects the properties for extra-large screens
Inheritors
StyleParamsImpl
Link copied to clipboard