require(shiny)
require(hrimodules)
ui<-fluidPage(text_ui("test"),
h4("Underlying Text Value"),
textOutput("values"))
server<-function(input,output,session){
text<-callModule(text_server,id="test")
output[['values']]<-renderText({
req(!is.null(text$text()))
text$text()})
}
shinyApp(ui,server)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.