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>


  "


  )

  )





}

Try the GomoGomonoMi package in your browser

Any scripts or data that you put into this service are public.

GomoGomonoMi documentation built on July 2, 2020, 3:22 a.m.