#' @keywords internal
#' @export
ui_addin_pin_find <- function() {
shinyAppDir <- get("shinyAppDir", envir = asNamespace("shiny"))
dialogViewer <- get("dialogViewer", envir = asNamespace("shiny"))
runGadget <- get("runGadget", envir = asNamespace("shiny"))
app <- shinyAppDir(system.file("rstudio/shinyaddin", package = "pins"))
runGadget(app, viewer = dialogViewer("Find Pin"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.