There is a mouseOver event in some component (button, label, listItem or another?)
tks
There is a mouseOver event in some component (button, label, listItem or another?)
tks
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 https://www.w3schools.com/jsref/event_onmouseover.asp there is the object.addEventListener(“mouseover”, myScript);
so probably you can do:
val serverBox = VerticalLayout()
serverBox.element.addEventListener("mouseover") {
showNotification("You overed me!")
}