add_ui_body {periscope} | R Documentation |
Add UI Elements to the Body area
Description
This function registers UI elements to the body of the application (the right side). Items are added in the order given.
Usage
add_ui_body(elementlist = NULL, append = FALSE)
Arguments
elementlist |
list of UI elements to add to the body |
append |
whether to append the |
Shiny Usage
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
See Also
Examples
require(shiny)
body1 <- htmlOutput("example1")
body2 <- actionButton("exButton", label = "Example")
add_ui_body(list(body1, body2))
[Package periscope version 1.0.4 Index]