deprecated | R Documentation |
__Deprecated.__ Dynamically use tippy.
use_tippy()
tippy_class(class, ...)
with_tippy(element, tooltip, ...)
class |
Class of elements to apply tooltip to. |
... |
Any option from the official documentation. |
element |
Shiny, or htmltools element, or character string. |
tooltip |
Content of tooltip. |
use_tippy
Includes tippy.js in header.
call_tippy
call tippy
on specific target element(s), place after elements to be targeted.
library(shiny)
if(FALSE){
shinyApp(
ui = fluidPage(
p("Some text", class = "tooltip"),
p("Some text", class = "tooltip"),
p("Some text", class = "tooltip"),
p("Some text", class = "tooltip"),
p("Some text", class = "tooltip"),
p("Some text", class = "tooltip"),
tippy("tooltip", content = "Hi!") # all elements with class
),
server = function(input, output) {}
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.