R/dependency.R

Defines functions useTippy

Documented in useTippy

#' Dependencies
#' 
#' Include dependencies, place anywhere in the shiny UI.
#' 
#' @importFrom shiny singleton tags
#' @importFrom htmltools htmlDependency
#' 
#' @export
useTippy <- function(){
  htmlDependency(
    "tippy",
    version = utils::packageVersion("tippy"),
    package = "tippy",
    src = "packer",
    script = "tippy.js"
  )
}
JohnCoene/tippy documentation built on April 16, 2023, 2:37 p.m.