add_ui_body | R Documentation |
This function registers UI elements to the body of the application (the right side). Items are added in the order given.
add_ui_body(elementlist = NULL, append = FALSE)
elementlist |
list of UI elements to add to the body |
append |
whether to append the |
Call this function after creating elements in program/ui_body.R
to
register them to the application framework and show them on the body area
of the dashboard application
add_ui_sidebar_basic
add_ui_sidebar_advanced
require(shiny)
body1 <- htmlOutput("example1")
body2 <- actionButton("exButton", label = "Example")
add_ui_body(list(body1, body2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.