onClick

fun onClick(eventHandler: () -> Unit): MainButton

This method argument do not accept this WebApp object