CommandBarItem {shiny.fluent} | R Documentation |
Command bar item
Description
Helper function for constructing items for CommandBar
and CommandBar.shinyInput
.
Usage
CommandBarItem(
key,
text,
onClick = setInputValue(inputId = key, value = 0, event = TRUE),
...
)
Arguments
key |
Key of the item. |
text |
Text to be displayed on the menu. |
onClick |
A JS function that runs on item click. By default it sends input value to |
... |
Additional props to pass to CommandBarItem. |
Value
Item suitable for use in the CommandBar
and CommandBar.shinyInput
.
See Also
CommandBar
[Package shiny.fluent version 0.4.0 Index]