R/pnotify-dependencies.R

Defines functions useNotify

Documented in useNotify

#' @rdname notify
#' @export
useNotify <- function() {

  htmltools::htmlDependency(
    name = "pnotify",
    version = "0.1.0",
    src = c(file = "pnotify"),
    script = list(list(src = "js/PNotify.js", defer = NA), 
                  list(src = "js/notify.js", defer = NA)),
    stylesheet = list("css/PNotify.css",
                      "css/BrightTheme.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.