| add_ui_left_sidebar | R Documentation | 
This function adds left sidebar configurations and UI elements. It is called within "ui_left_sidebar.R". Check example application for detailed example
add_ui_left_sidebar(
  sidebar_elements = NULL,
  sidebar_menu = NULL,
  collapsed = FALSE,
  custom_area = NULL,
  elevation = 4,
  expand_on_hover = TRUE,
  fixed = TRUE,
  minified = FALSE,
  status = "primary",
  skin = "light"
)
| sidebar_elements | List of regular shiny UI elements (inputText, textArea, etc..) | 
| sidebar_menu | 
 | 
| collapsed | If TRUE, the sidebar will be collapsed on app start up | 
| custom_area | List of regular shiny UI elements but for sidebar bottom space area only. Only works if sidebar is fixed | 
| elevation | A number between 0 and 5, which applies a shadow to the sidebar to add a shadow effect. | 
| expand_on_hover | When  | 
| fixed | Whether to see all menus at once without scrolling up and down.(default = TRUE) | 
| minified | Whether to slightly close the sidebar but still show item icons (default = FALSE) | 
| status | Determines which color menu items (if exist) will have Check  | 
| skin | Sidebar skin. "dark" or "light" (default = "light") | 
list of both shiny UI elements and named left sidebar properties
Call this function from program/ui_left_sidebar.R to set left sidebar parameters
bs4Dash:bs4DashSidebar()
periscope2:add_ui_footer()
periscope2:add_ui_header()
periscope2:add_ui_body()
periscope2:add_ui_right_sidebar()
periscope2:ui_tooltip()
periscope2:get_url_parameters()
  library(shiny)
  library(bs4Dash)
  # Inside ui_left_sidebar.R
  # sidebar menu items
  sidebar_elements <- textInput("text_id", "Test", "Test Data")
  sidebar_menu     <- sidebarMenu(sidebarHeader("Main Menu"),
                                  menuItem("menu item 1",
                                           tabName = "item_1 page"),
                                  menuItem("menu item 2",
                                           tabName = "item_2 page"))
  add_ui_left_sidebar(sidebar_elements = sidebar_elements,
                      sidebar_menu     = sidebar_menu)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.