Nothing
#' Enable the MailtoUI javascript library
#' @description The function activates the capabilities of the MailtoUI javascript library. The user needs to set it at the end of the shiny ui.
#'
#' @return called for the side effect of activating the MailtoUI library
#' @export
#'
#' @examples \donttest{
#'
#' # Put the function at the bottom of the ui
#'
#' use_mailtoR()
#'
#'
#'
#' }
use_mailtoR <- function(){
htmltools::tags$script(src = "https://cdn.jsdelivr.net/npm/mailtoui@1.0.3/dist/mailtoui-min.js")
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.