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

onClick

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

A convenient helper for easy setting onClick event handler.