pulloutPanel: Create a pullout panel

Description Usage Arguments

View source: R/pulloutPanel.R

Description

Use anywhere in your app ui to fix a pullout panel to either the left or the right of that element.

Usage

1
2
3
4
5
6
7
8
pulloutPanel(
  ...,
  position = c("left", "right"),
  width = "500px",
  top = 0,
  handleStyle = handleStyle(),
  handleText = NULL
)

Arguments

...

contents of the panel

position

left or right

width

the width of the expanded panel - should be a valid CSS unit

top

the distance from the top of the parent element to place the panel - useful for preventing overlap e.g. in dashboard pages and navbar pages

handleStyle

styles for the panel handle - use a call to handleStyle

handleText

optional text for the handle


cwthom/shinypullout documentation built on Sept. 27, 2020, 12:03 a.m.