scout_section {scoutbaR} | R Documentation |
Creates a scout section
Description
Sort scout_action on the same view.
Usage
scout_section(label, ..., .list = NULL)
Arguments
label |
Section label. |
... |
Expect scout_action. |
.list |
To programmatically pass a list of scout_action,
with |
Details
Whenever many scout_action share a similar topic, you may use this function to sort them in the UI and offer a better user experience. You can combine it with scout_page.
Value
A list containing:
children: a sublist where are passed the scout_action.
label: The section label.
class: a character vector to identify the section on the JavaScript side. You are not expected to modify it as it will break the JavaScript binding.
[Package scoutbaR version 0.2.0 Index]