add_ui_body | R Documentation |
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)
body_elements |
List of UI elements to be displayed in application body |
append |
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
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.