onHover abstract method

void onHover()

Called when the cursor begins hovering over this component.

Override this method to implement custom hover behavior, such as displaying tooltips or changing visual appearance.

Implementation

void onHover();