View source: R/createTooltip.R
createTooltip | R Documentation |
returns standard text with info-circle tooltip. If TooltipText is missing or NA, tooltip span element is omitted.
createTooltip(Text, URL, TooltipText, ShowTooltip = TRUE, ...)
Text |
Text to diplay before info circle tooltip |
URL |
URL to open for onclick event |
TooltipText |
text to display in tooltip on hover |
ShowTooltip |
boolean - whether to add info tooltip or just output Text - defaults to TRUE |
... |
dots - additional args |
HTML div with tooltip span element
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.