inlineDialog: Alert in the style of a dialogue box with a button

View source: R/utils_interface.R

inlineDialogR Documentation

Alert in the style of a dialogue box with a button

Description

Alert in the style of a dialogue box with a button

Usage

inlineDialog(
  description,
  ...,
  buttonLabel = NULL,
  buttonIcon = NULL,
  buttonId = NULL,
  id = NULL,
  type = c("error", "warning"),
  bigger = FALSE
)

errorDialog(description, ...)

warningDialog(description, ...)

Arguments

description

Character: description

...

Extra parameters when creating the alert

buttonLabel

Character: button label

buttonIcon

Character: button icon

buttonId

Character: button identifier

id

Character: identifier

type

Character: type of alert (error or warning)

bigger

Boolean: wrap the description in a h4 tag?

Value

HTML elements


nuno-agostinho/psichomics documentation built on Feb. 11, 2024, 11:16 p.m.