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