run_example <- function(){
library(shiny)
devtools::load_all(".")
shinyApp(
ui = shiny::basicPage(
editableText("id", "label"),
textOutput("out")
),
server = function(input, output, session){
output$out <- renderText({input$id})
}
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.