kvision / pl.treksoft.kvision.core / Component / setAttribute

setAttribute

abstract fun setAttribute(name: String, value: String): Component

Sets the value of additional attribute.

Parameters

name - the name of the attribute

value - the value of the attribute