.onAttach <- function(...) {
# Create link to javascript and css files for package
shiny::addResourcePath("inputAnnotate", system.file("www", package="inputAnnotate"))
}
inputAnnotateDep <- htmltools::htmlDependency("inputAnnotate", packageVersion("inputAnnotate"), src = c("href" = "inputAnnotate"), script = "annotate.js")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.