Creates a Scoutbar React widget
scout-bar.Rd
Scoutbar react widget for Shiny.
Usee this function from the server side of your Shiny app.
Usage
scoutbar(
inputId,
theme = c("light", "dark", "auto"),
placeholder = list("Hello", "Type some text"),
actions = list(),
...
)
update_scoutbar(
session = shiny::getDefaultReactiveDomain(),
inputId,
configuration = NULL
)
Arguments
- inputId
Widget input id.
- theme
Scoutbar theme.
- placeholder
Scoutbar placeholder text. A string or a list of strings.
- actions
Scoutbar actions. Expect scout_action or scout_section and scout_page. scout_action can be nested inside scout_section and scout_page.
- ...
Any other configuration parameter. See https://www.scoutbar.co/docs/features.
- session
Shiny session object.
- configuration
Scoutbar configuration. Expect a list of properties. See possible values here at https://www.scoutbar.co/docs/features.