Builds application body with given configurations and elements. It is called within "ui_body.R". Check example application for detailed example
add_ui_body(body_elements = NULL, append = FALSE)
list of both shiny UI elements and html div tags for alert and linking app JS and CSS files
List of UI elements to be displayed in application body
Add elements to current body elements or remove previous body elements (default = FALSE)
Call this function from program/ui_body.R
to set body parameters
bs4Dash:bs4DashBody()
periscope2:add_ui_footer()
periscope2:add_ui_left_sidebar()
periscope2:add_ui_header()
periscope2:add_ui_right_sidebar()
periscope2:ui_tooltip()
periscope2:get_url_parameters()
library(shiny)
library(bs4Dash)
# Inside ui_body.R
about_box <- jumbotron(title = "periscope2: Test Example",
lead = p("periscope2 is a scalable and UI-standardized 'shiny' framework
including a variety of developer convenience functions"),
status = "info",
href = "https://periscopeapps.org/")
# -- Register Elements in the ORDER SHOWN in the UI
add_ui_body(list(about_box))
Run the code above in your browser using DataLab