onHoverChanged

abstract fun onHoverChanged(element: T, hovered: Boolean)

Called when element starts to be hovered or stops being hovered. The hovered value represents the new state (true when it starts to be hovered, false when it stops).