onHover

inline fun Style.onHover(noinline handler: (View, MotionEvent) -> Boolean): Style

Sets a listener that will invoke the given lambda when this Component is hovered on. If the component does not render a view then the framework will render it inside a View.