Nothing
#' @importFrom shiny registerInputHandler
.onLoad <- function(libname, pkgname) {
registerInputHandler(
"shinyHierarchy.value",
function(data, ...) {
if (is.null(data)) {
return(NULL)
}
if (is.list(data)) {
return(data)
}
jsonlite::fromJSON(data, simplifyVector = FALSE)
},
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.