Tooltip
Description
Create text that shows when you hover over or focus an element.
Usage
bc_tooltip(..., text, side = "top", align = "center")
Arguments
| Argument | Description |
|---|---|
... |
The content the tooltip belongs to, and tag attributes. |
text |
String. The tooltip text. |
side |
String. Where the tooltip opens. One of "top" (default), "bottom", "left", "right", "inline-start", or "inline-end". |
align |
String. Alignment of the tooltip along that side. One of "start", "center" (default), or "end". |
Value
An htmltools tag.
Examples
bc_tooltip("Save", text = "Save your work")
Save
bc_tooltip("Info", text = "Additional information", side = "bottom")
Info