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

setAttribute

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

Overrides Component.setAttribute

Sets the value of additional attribute.

Parameters

name - the name of the attribute

value - the value of the attribute