| ds_tooltip | R Documentation |
Add a tooltip to an element by attaching data-tooltip attributes.
ds_tooltip(tag, text, placement = "top")
tag |
The element to attach the tooltip to. |
text |
The tooltip text. |
placement |
Tooltip placement: |
The element with tooltip attributes added.
ds_tooltip(
ds_button("Hover me"),
text = "This is helpful information"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.