R/alertify-dependencies.R

Defines functions useAlertify

Documented in useAlertify

#' @rdname alertify
#' @export 
useAlertify <- function() {
  htmltools::htmlDependency(
    name = "alertify",
    version = "0.1.0",
    src = c(file = "alertify"),
    script = list(list(src = "js/alertify.min.js", defer = NA), 
                  list(src = "js/sbyAlertify.js", defer = NA)),
    stylesheet = list("css/alertify.min.css",
                      "css/default.min.css",
                      "css/semantic.min.css",
                      "css/bootstrap.min.css"),
    package = "standby"
  )
}

Try the standby package in your browser

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

standby documentation built on Oct. 30, 2024, 9:30 a.m.