kvision / pl.treksoft.kvision.core / Style / addCssClass

addCssClass

open fun addCssClass(css: String): Component

Overrides Component.addCssClass

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

Parameters

css - CSS class name

Return
current component

open fun addCssClass(css: Style): Component

Overrides Component.addCssClass

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