Description Usage Arguments Examples
This shiny module UI creates an InfoBox that can be clicked on to bring up a modal dialof with expanded details of the summary in the InfoBox.
1 2 | InfoBoxModal_UI(id, title = "My InfoModalBox", color = "red", value = 100,
icon = "thumbs-up")
|
id |
Unique Identifier for the UI in the shiny app UI |
title |
InfoBox title, Default is "My InfoModalBox |
color |
Color of InfoBox, Default is "green" For options see shiny InfoBox documentation |
value |
Value to be displayed, typically a summary value. Default is 100 |
color |
Icon to display, it is a call to shiny's icon() function. Default is "thumbs-up" |
1 | InfoBoxModal_UI("InfoBox")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.