| card_tool | R Documentation | 
The icons cane be displayed at header line within
accordion, card, card2,
card_tabset. See their examples.
card_tool(
  inputId = NULL,
  title = NULL,
  widget = c("maximize", "collapse", "remove", "flip", "refresh", "link", "custom"),
  icon,
  class = "",
  href = "#",
  target = "_blank",
  start_collapsed = FALSE,
  ...
)
| inputId | the button id, only necessary when  | 
| title | the tip message to show when the mouse cursor hovers on the icon | 
| widget | the icon widget type; choices are  | 
| icon | icon to use if you are unsatisfied with the default ones | 
| class | additional class for the tool icons | 
| href,target | used when  | 
| start_collapsed | used when  | 
| ... | passed to the tag as attributes | 
There are 7 widget types:
"maximize"allow the elements to maximize themselves to full-screen
"collapse"allow the elements to collapse
"remove"remove a card or
card2
"flip"used together with flip_box,
to allow card body to flip over
"refresh"refresh all shiny outputs
"link"open a hyper-link pointing to external websites
"custom"turn the icon into a actionButton.
in this case, inputId must be specified.
'HTML' tags to be included in tools parameter in
accordion, card, card2,
card_tabset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.