#' @name Custom tippy widget functions
#'
#' @inheritParams tippy::tippy
#'
#' @return a tippy
#' @export
#' @importFrom tippy tippy
#'
#' @noRd
#'
my_tippy <- function(
tooltip,
text
) {
tippy::tippy(
tooltip = tooltip,
text = text,
placement = "right-end",
interactive = "true",
allowHTML = "true"
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.