kvision / pl.treksoft.kvision.html / Button / onClick

onClick

(js) open fun onClick(handler: Button.(MouseEvent) -> Unit): Button

A convenient helper for easy setting onClick event handler.