MouseOver event on components

There is a mouseOver event in some component (button, label, listItem or another?)


Using the element api you can access all HTML events.

This is an example with kotlin that I use and work like a charm:

val serverBox = VerticalLayout()
serverBox.element.addEventListener("dblclick") {
                    showNotification("DUBLE CLICK!")

As you can see, from there is the object.addEventListener(“mouseover”, myScript);
so probably you can do:

val serverBox = VerticalLayout()
serverBox.element.addEventListener("mouseover") {
                    showNotification("You overed me!")