deprecated: Use tippy

deprecatedR Documentation

Use tippy

Description

__Deprecated.__ Dynamically use tippy.

Usage

use_tippy()

tippy_class(class, ...)

with_tippy(element, tooltip, ...)

Arguments

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.

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

official documentation

Examples

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) {}
)
}


JohnCoene/tippy documentation built on April 16, 2023, 2:37 p.m.