chakraDrawerOptions: Drawer options

Description Usage Arguments Value

View source: R/chakraDrawer.R

Description

Options for the drawer widget (chakraDrawer).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
chakraDrawerOptions(
  closeOnEsc = TRUE,
  closeOnOverlayClick = TRUE,
  colorScheme = NULL,
  isCentered = FALSE,
  isFullHeight = FALSE,
  motionPreset = "scale",
  placement = "right",
  size = "xs",
  ...
)

Arguments

closeOnEsc

whether to close the panel on pressing the 'esc' key

closeOnOverlayClick

whether to close the panel on clicking the overlay

colorScheme

a chakra color scheme

isCentered

whether to center the modal on screen

isFullHeight

if TRUE and drawer's placement is "top" or "bottom", the drawer will occupy the viewport height

motionPreset

transition that should be used for the modal; one of "scale", "none", "slideInBottom", or "slideInRight"

placement

placement of the drawer, "top", "right", "bottom", or "left"

size

modal size, "sm", "md", "lg", "xl", "2xl", "full", "xs", "3xl", "4xl", "5xl", or "6xl"

...

other attributes of Drawer

Value

A named list, for usage in chakraDrawer.


shinyChakraUI documentation built on Jan. 5, 2022, 5:08 p.m.