infoOutput: Shiny module UI to display a modal on click

View source: R/info.R

infoOutputR Documentation

Shiny module UI to display a modal on click

Description

Create a clickable link or button that displays a modal dialog with customizable content

Usage

infoOutput(id, label = "req's", i = "exclamation-circle", link = T)

Arguments

id

Character ID for specifying namespace, see shiny::NS.

label

Label, typically for specifying type of info, defaults to "Req's".

i

Font-awesome icon name to display next to label, see shiny::icon.

link

Whether to use link or button. Defaults to actionLink, set FALSE to use actionButton.

Value

An actionLink or actionButton that calls a modal.


avucoh/DIVE documentation built on Aug. 29, 2023, 6:02 p.m.