#' @importFrom glue glue
getJavaScriptOutputId <- function(id, ns) {
glue("output['{ns(id)}']")
}
getJavaScriptInputId <- function(id, ns) {
glue("input['{ns(id)}']")
}
inputLabel <- function(label) {
if (!is.null(label)) {
div(
tags$strong(label),
style = "padding-bottom: 5px;"
)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.