style

fun style(value: BorderStyleValues.() -> BorderStyleProperty)

This function is used to set the style of a border for the border-style property or the individual side style property according to the passed BorderContext.styleKey value like `border-{side}-style`.

example call:

border {
style { dotted }
}

Parameters

value

extension function parameter to bring the predefined border style values from BorderStyleValues into the scope of the functional expression