express.ui.tooltip

express.ui.tooltip(id=None, placement='auto', options=None, **kwargs)

Context manager for a tooltip

This function wraps tooltip.

Display additional information when focusing (or hovering over) a UI element.

Parameters

id : Optional[str] = None

A character string. Required to reactively respond to the visibility of the tooltip (via the input[id] value) and/or update the visibility/contents of the tooltip.

placement : Literal[‘auto’, ‘top’, ‘right’, ‘bottom’, ‘left’] = 'auto'

The placement of the tooltip relative to its trigger.

options : Optional[dict[str, object]] = None

A list of additional Bootstrap options.

Examples

Loading...