The card functions create a server-side interaction to be handled
by conditional logic for the parameters (reactive
)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | card_server(
input,
output,
session,
name,
closable_,
width,
status_colour,
solid_header,
collapse_,
lbl_text,
lbl_colour,
lbl_tooltip,
...
)
|
input |
list of inputs used in the shiny application session |
output |
list of outputs used the shiny application session |
session |
The shiny app session object |
name |
The title of the card |
closable_ |
The option to open or close the card |
width |
The total width of the card |
status_colour |
The colour of the card to use |
solid_header |
The colour of the card header |
collapse_ |
Can the window be collapsed? |
lbl_text |
Label text |
lbl_colour |
Label colour |
lbl_tooltip |
Label tooltip |
... |
The other components of the card UI |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.