pub fn tooltip_anchor(
controller: State<TooltipController>,
) -> TooltipAnchorBuilderExpand description
§tooltip_anchor
Attach hover, focus, and touch explanations to a control without changing its action.
§Usage
Wrap a button or icon in the page content of tooltip_provider.
§Parameters
controller— controller received from the tooltip provider content slotmodifier— modifiers for the trigger wrapperchild— the control that receives focus and normal activation
§Examples
use tessera_components::tooltip::TooltipPlacement;
assert_eq!(TooltipPlacement::default(), TooltipPlacement::Above);