Nothing
#' Adds the content of assets/ to esquisse/
#'
#' @importFrom shiny addResourcePath registerInputHandler
#'
#' @noRd
.onLoad <- function(...) {
shiny::addResourcePath("esquisse", system.file("assets", package = "esquisse"))
shiny::registerInputHandler("esquisse.dragula", function(data, ...) {
if (is.null(data)) {
NULL
} else {
data$source <- unlist(data$source)
data$target <- lapply(data$target, unlist, recursive = FALSE)
names(data$target) <- idToChar(names(data$target))
data
}
}, force = TRUE)
}
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.