add_ui_sidebar_right: Add UI Elements to the Right Sidebar

Description Usage Arguments Shiny Usage See Also Examples

View source: R/ui_helpers.R

Description

This function registers UI elements at the right dashboard sidebar. The UI element should be of type rightSidebarTabContent.

Usage

1

Arguments

elementlist

list of UI elements to add to the sidebar tab

append

whether to append the elementlist to the currently registered elements or replace the currently registered elements completely

Shiny Usage

Call this function after creating elements in program/ui_sidebar_right.R to register them to the application framework and show them on the right dashboard sidebar

See Also

add_ui_sidebar_basic

add_ui_body

rightSidebarTabContent

Examples

1
2
3
4
5
6
7
8
require(shiny)
require(shinydashboardPlus)

s1 <- rightSidebarTabContent(id = 1, icon = "desktop", title = "Tab 1 - Plots", active = TRUE, 
                             div(helpText(align = "center", "Sample UI Text"),
                                 selectInput("sample1", "A Select", c("A", "B", "C")) ))
 
add_ui_sidebar_right(list(s1), append = FALSE)

periscope documentation built on July 8, 2020, 7:18 p.m.