dash_mp_components.Tooltip¶
- class dash_mp_components.Tooltip(children: str | int | float | Component | None | Sequence[str | int | float | Component | None] = None, id: str | dict | None = None, place: str | None = None, type: str | None = None, effect: str | None = None, event: str | None = None, eventOff: str | None = None, globalEventOff: str | None = None, offset: dict | None = None, multiline: bool | None = None, className: str | None = None, html: bool | None = None, delayHide: Annotated[SupportsFloat | SupportsInt | SupportsComplex, _NumberSchema] | None = None, delayShow: Annotated[SupportsFloat | SupportsInt | SupportsComplex, _NumberSchema] | None = None, border: bool | None = None, disable: bool | None = None, scrollHide: bool | None = None, clickable: bool | None = None, **kwargs)[source]¶
Bases:
ComponentA Tooltip component. Tooltip component based on react-tooltip (https://github.com/wwayne/react-tooltip). To attach a Tooltip component to a trigger element, add the attributes “data-tip” and “data-for” to the trigger element. The “data-for” attribute’s value should be equal to the id of the Tooltip component you want to connect it to.
Keyword arguments:
- children (a list of or a singular dash component, string or number; optional):
Use the children prop to set the content of the tooltip. This can be simple text or a component.
- id (string; optional):
The ID used to identify this component in Dash callbacks.
border (boolean; optional)
className (string; optional)
clickable (boolean; optional)
delayHide (number; optional)
delayShow (number; optional)
disable (boolean; optional)
effect (string; optional)
event (string; optional)
eventOff (string; optional)
globalEventOff (string; optional)
html (boolean; optional)
multiline (boolean; optional)
offset (dict; optional)
place (string; optional)
scrollHide (boolean; optional)
type (string; optional)
- __init__(children: str | int | float | Component | None | Sequence[str | int | float | Component | None] = None, id: str | dict | None = None, place: str | None = None, type: str | None = None, effect: str | None = None, event: str | None = None, eventOff: str | None = None, globalEventOff: str | None = None, offset: dict | None = None, multiline: bool | None = None, className: str | None = None, html: bool | None = None, delayHide: Annotated[SupportsFloat | SupportsInt | SupportsComplex, _NumberSchema] | None = None, delayShow: Annotated[SupportsFloat | SupportsInt | SupportsComplex, _NumberSchema] | None = None, border: bool | None = None, disable: bool | None = None, scrollHide: bool | None = None, clickable: bool | None = None, **kwargs)¶
Methods
__init__([children, id, place, type, ...])to_plotly_json()Attributes
REQUIREDUNDEFINEDavailable_wildcard_properties