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