Learn R Programming

argonR (version 0.2.0)

argonModal: Create a Boostrap 4 argon modal

Description

Build an argon modal

Usage

argonModal(..., id, title = NULL, status = NULL, gradient = FALSE)

Arguments

...

Modal body content.

id

Modal unique id. Should be the same as modal_id from argonButton.

title

Modal title.

gradient

Modal background gradient. FALSE by default. Does not work if status is NULL.

Examples

Run this code
# NOT RUN {
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."
 )
}

# }

Run the code above in your browser using DataLab