module_tabs_with_filters {teal} | R Documentation |
Add right filter panel into each of the top-level teal_modules
UIs
Description
The ui_nested_tabs function returns a nested tabbed UI corresponding to the nested modules. This function adds the right filter panel to each main tab.
Usage
ui_tabs_with_filters(id, modules, datasets, filter = teal_slices())
srv_tabs_with_filters(
id,
datasets,
modules,
reporter = teal.reporter::Reporter$new(),
filter = teal_slices()
)
Arguments
id |
( |
modules |
( |
datasets |
(named |
filter |
( |
reporter |
( |
Details
The right filter panel's filter choices affect the datasets
object. Therefore,
all modules using the same datasets
share the same filters.
This works with nested modules of depth greater than 2, though the filter panel is inserted at the right of the modules at depth 1 and not at the leaves.
Value
A shiny.tag.list
containing the main menu, placeholders for filters and placeholders for the teal
modules.