add_ui_body {periscope2}R Documentation

Add UI elements to dashboard body section

Description

Builds application body with given configurations and elements. It is called within "ui_body.R". Check example application for detailed example

Usage

add_ui_body(body_elements = NULL, append = FALSE)

Arguments

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)

Value

list of both shiny UI elements and html div tags for alert and linking app JS and CSS files

Shiny Usage

Call this function from program/ui_body.R to set body parameters

See Also

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()

Examples

  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))


[Package periscope2 version 0.2.3 Index]