Dynamically use tippy.

use_tippy()

call_tippy(target, ...)

Arguments

target

Target element.

...

Any option to pass to tippy

Functions

  • use_tippy Includes tippy.js in header.

  • call_tippy call tippy on specific target element(s), place after elements to be targeted.

See also

Examples

if(interactive()){ library(shiny) shinyApp( ui = fluidPage( use_tippy(), p("Some text", title = "tooltip"), p("Some text", title = "tooltip"), p("Some text", title = "tooltip"), p("Some text", title = "tooltip"), p("Some text", title = "tooltip"), p("Some text", title = "tooltip"), call_tippy("[title]") # all elements with title ), server = function(input, output) {} ) }