TooltipIcon#
The TooltipIcon displays a small ? icon. When you hover over the ? icon, the value will display.
Use pn.ui.TooltipIcon to create this component.
API#
.. py:class:: TooltipIcon(**params: ~typing.Any) :module: panel.widgets.indicators
The TooltipIcon displays a small ? icon. When you hover over the ? icon, the value
will display.
Use the TooltipIcon to provide
helpful information to users without taking up a lot of screen space
tooltips next to Panel widgets that do not support tooltips yet.
Reference: https://panel.holoviz.org/reference/indicators/TooltipIcon.html
:Example:
pn.widgets.TooltipIcon(value=”This is a simple tooltip by using a string”)
.. !! processed by numpydoc !!
Parameter Definitions
Parameters inherited from:
:class:`panel.widgets.base.WidgetBase`: label
:class:`panel.viewable.Layoutable`: aspect_ratio, css_classes, design, min_width, min_height, max_width, max_height, styles, stylesheets, tags, width_policy, height_policy, sizing_mode, visible
:class:`panel.viewable.Viewable`: loading
:class:`panel.widgets.base.Widget`: height, margin, width, disabled
value = ClassSelector(class_=(<class 'str'>, <class 'bokeh.models.ui.tooltips.Tooltip'>), default='Description', label='Value')
The description in the tooltip.
align = Align(default='center', label='Align')
Whether the object should be aligned with the start, end or
center of its container. If set as a tuple it will declare
(vertical, horizontal) alignment.