Description Usage Arguments Value
View source: R/chakraAlertDialog.R
Options for the alert dialog widget
(chakraAlertDialog
).
1 2 3 4 5 6 7 8 | chakraAlertDialogOptions(
closeOnEsc = TRUE,
colorScheme = "red",
isCentered = TRUE,
motionPreset = "scale",
size = "md",
...
)
|
closeOnEsc |
whether to close the modal on pressing the 'esc' key |
colorScheme |
a Chakra color scheme |
isCentered |
whether to center the modal on screen |
motionPreset |
transition that should be used for the modal; one of
|
size |
modal size, |
... |
other attributes of |
A named list, for usage in chakraAlertDialog
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.