Skip to contents

A shiny module that shows messages in modal.

Usage

errorModal_ui(id)

errorModal_server(id, msg)

errorModal(msg)

Arguments

id

A `character()` as the id of the Shiny module

msg

The text to display in the modal

Value

A shiny App

Examples

if (interactive()) {
    shiny::runApp(errorModal("my error text"))
}