Skip to main content

TooltipComponentBuilder

Type Alias TooltipComponentBuilder 

Source
pub type TooltipComponentBuilder = Rc<dyn Fn(&mut App, BuildContext, AnimationRef<f64>) -> WidgetRef>;
Expand description

Signature for building the tooltip overlay child.

The animation property exposes the underlying tooltip overlay child show and hide animation. This can be used to drive animations that sync up with the tooltip overlay child show/hide animation, for example to fade the tooltip in and out.

Aliased Typeยง

pub struct TooltipComponentBuilder { /* private fields */ }