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 UI elements to be displayed in application body
Add elements to current body elements or remove previous body elements (default = FALSE)
list of both shiny UI elements and html div tags for alert and linking app JS and CSS files
Call this function from program/ui_body.R
to set body parameters
library(shiny)
library(bs4Dash)
#>
#> Attaching package: ‘bs4Dash’
#> The following objects are masked from ‘package:shiny’:
#>
#> actionButton, column, insertTab, navbarMenu, tabsetPanel
#> The following object is masked from ‘package:graphics’:
#>
#> box
# 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))