argonModal: Create a Boostrap 4 argon modal

Description Usage Arguments Author(s) Examples

View source: R/argonModal.R

Description

Build an argon modal

Usage

1
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.

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.

Author(s)

David Granjon, dgranjon@ymail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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."
 )
}

argonR documentation built on Dec. 1, 2019, 1:15 a.m.