showAlert {psichomics} | R Documentation

## Show or remove an alert

### Description

Show or remove an alert

### Usage

    showAlert(session, ..., title, style = NULL, dismissible = TRUE,
      alertId = "alert", iconName = NULL, caller = NULL)

    errorAlert(session, ..., title = NULL, dismissible = TRUE,
      alertId = "alert", caller = NULL)

    warningAlert(session, ..., title = NULL, dismissible = TRUE,
      alertId = "alert", caller = NULL)

    removeAlert(output, alertId = "alert")

### Arguments

`session` | Shiny session
`...` | Arguments to render as elements of alert
`title` | Character: title
`style` | Character: style (`error`, `warning` or `NULL`)
`dismissible` | Boolean: is the alert dismissible?
`alertId` | Character: identifier
`iconName` | Character: icon name
`caller` | Character: caller module identifier
`output` | Shiny output

### Value

NULL (this function is used to modify the Shiny session's state)

### See Also

`showModal`

[Package psichomics version 1.8.2 Index]