kvision / pl.treksoft.kvision.core / Widget / setAttribute

setAttribute

(js) open fun setAttribute(name: String, value: String): Widget

Sets the value of additional attribute.

Parameters

name - the name of the attribute

value - the value of the attribute