bs4DashSidebar: Create a Boostrap 4 dashboard main sidebar

Description Usage Arguments Author(s)

View source: R/dashboardSidebar.R

Description

Build an adminLTE3 dashboard main sidebar

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
bs4DashSidebar(
  ...,
  inputId = NULL,
  disable = FALSE,
  title = NULL,
  skin = "dark",
  status = "primary",
  brandColor = NULL,
  url = NULL,
  src = NULL,
  elevation = 4,
  opacity = 0.8,
  expand_on_hover = TRUE
)

dashboardSidebar(
  ...,
  inputId = NULL,
  disable = FALSE,
  title = NULL,
  skin = "dark",
  status = "primary",
  brandColor = NULL,
  url = NULL,
  src = NULL,
  elevation = 4,
  opacity = 0.8,
  expand_on_hover = TRUE
)

Arguments

...

Slot for bs4SidebarMenu.

inputId

Recover the state of the sidebar.

disable

If TRUE, the sidebar will be disabled.

title

Sidebar title.

skin

Sidebar skin. "dark" or "light"

status

Sidebar status. "primary", "danger", "warning", "success", "info".

brandColor

Brand color. NULL by default: "primary", "danger", "warning", "success", "info", "white" or "gray-light".

url

Sidebar brand link.

src

Sidebar brand image.

elevation

Sidebar elevation. 4 by default (until 5).

opacity

Sidebar brand opacity. From 0 to 1. 0.8 by default.

expand_on_hover

Whether to expand the sidebar om hover. TRUE by default.

Author(s)

David Granjon, dgranjon@ymail.com


bs4Dash documentation built on Dec. 1, 2019, 1:28 a.m.