kvision / pl.treksoft.kvision.core / Component / addSurroundingCssClass

addSurroundingCssClass

abstract fun addSurroundingCssClass(css: String): Component

Adds given value to the set of CSS classes generated in html code of parent component.

Parameters

css - CSS class name

Return
current component

abstract fun addSurroundingCssClass(css: Style): Component

Adds given style object to the set of CSS classes generated in html code of parent component.

Parameters

css - CSS style object

Return
current component