Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sidebar_tabs

Create a Sidebar


Description

Create a Sidebar

Usage

sidebar_tabs(id = "sidebar", iconList = NULL, ...)

Arguments

id

The id of the sidebar, which must match the id of addSidebar. Default is "sidebar"

iconList

A list of icons to be shown, when the sidebar is collapsed. The list is required and must match the amount of sidebar_pane.

...

The individual sidebar_pane.

Value

A shiny.tag with individual sidebar panes

References

See Also

Other Sidebar Functions: addSidebar(), closeSidebar(), openSidebar(), removeSidebar(), sidebar_pane()

Examples

## Not run: 
library(shiny)
runApp(paste0(system.file("examples", package = "leaflet.extras2"),
              "/sidebar_app.R"))

## End(Not run)

leaflet.extras2

Extra Functionality for 'leaflet' Package

v1.1.0
GPL-3 | file LICENSE
Authors
Gatscha Sebastian [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.