kvision / pl.treksoft.kvision.core / Component / addCssClass

addCssClass

abstract fun addCssClass(css: String): Component

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

Parameters

css - CSS class name

Return
current component

abstract fun addCssClass(css: Style): Component

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

Parameters

css - CSS style object

Return
current component