kvision / pl.treksoft.kvision.core / Widget / addSurroundingCssClass

addSurroundingCssClass

open fun addSurroundingCssClass(css: String): Widget

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): Widget

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