R/use_gomo.R

Defines functions use_gomo

Documented in use_gomo

#' Enable the Animate.css Library
#'
#' @description The function activates the capabilities of the animate.css library using its CDN. It should be run at the beginning of the document.
#'
#' @return called for the side effect of activating the animate.css library
#'
#'
#' @examples \donttest{
#'
#' # Put the function at the beginning of your Rmd document or Shiny app (UI)
#'
#' use_gomo()
#'
#'
#'
#' }
#'
#'
#' @export
#'
#'
#'
#'



use_gomo <- function(){

  htmltools::HTML(glue::glue(

    "

    <head>

  <link
    rel='stylesheet'
    href='https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.0.0/animate.min.css'
  />

  </head>


  "


  )

  )





}
feddelegrand7/GomoGomonoMi documentation built on Dec. 11, 2020, 9:50 a.m.