Creates a scout section
scout_section.Rd
Sort scout_action on the same view.
Arguments
- label
Section label.
- ...
Expect scout_action.
- .list
To programmatically pass a list of scout_action, with
lapply
for instance.
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.
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.