#' Handy tooltip for Shiny
#'@export
label_tooltip <- function(label, helptext){
HTML(glue::glue("{label} <span class='glyphicon glyphicon-info-sign' ",
"data-html = 'true' ",
"data-toggle = 'tooltip' ",
"data-original-title='Help' ",
"title='{helptext}' ",
"></span>"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.