kvision / pl.treksoft.kvision.core / Style / addSurroundingCssClass

addSurroundingCssClass

open fun addSurroundingCssClass(css: String): Component

Overrides Component.addSurroundingCssClass

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

Parameters

css - CSS class name

Return
current component

open fun addSurroundingCssClass(css: Style): Component

Overrides Component.addSurroundingCssClass

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