bs4CardSidebar: Create a sidebar for Boostrap 4 card

Description Usage Arguments

View source: R/cards.R

Description

To insert in the sidebar slot of bs4Card.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
bs4CardSidebar(
  ...,
  inputId = NULL,
  width = "25%",
  background = "#333a40",
  startOpen = FALSE,
  icon = "cogs"
)

cardSidebar(
  ...,
  inputId = NULL,
  width = "25%",
  background = "#333a40",
  startOpen = FALSE,
  icon = "cogs"
)

Arguments

...

Sidebar content.

inputId

Unique sidebar id. Useful if you want to use updatebs4CardSidebar.

width

Sidebar width in percentage. 25% by default. A character value of any width CSS understands (e.g. "100px").

background

Sidebar background color. Dark by default.

startOpen

Whether the sidebar is open at start. FALSE by default.

icon

Sidebar icon.


RX-PBB/bs4Mash documentation built on April 11, 2020, 12:15 a.m.