argonModal | R Documentation |
Build an argon modal
argonModal(..., id, title = NULL, status = NULL, gradient = FALSE)
... |
Modal body content. |
id |
Modal unique id. Should be the same as modal_id from argonButton. |
title |
Modal title. |
status |
Modal color. See https://demos.creative-tim.com/argon-design-system/docs/foundation/colors.html. |
gradient |
Modal background gradient. FALSE by default. Does not work if status is NULL. |
David Granjon, dgranjon@ymail.com
if(interactive()){
library(argonR)
argonModal(
id = "modal1",
title = "This is a modal",
status = "danger",
gradient = TRUE,
"YOU SHOULD READ THIS!",
br(),
"A small river named Duden flows by their place and supplies it with the necessary regelialia."
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.