shinyServer(function(input, output, session) {
shinyFunctions <- createRFDrawer(
colors = c("green", "yellow", "red"),
shapes = rep("triangle", 3)
)
output$rfDrawer <- renderUI({
shinyFunctions$UI("rf")
})
callModule(shinyFunctions$Server, id = "rf")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.