Creates a scout page
scout_page.Rd
Can embed scout_action on a separate view of the Scoutbar.
Arguments
- label
Page 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 page label.
class: a character vector to identify the page 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, or have nested topics, this function allows you to provide a better experience by isolating some actions in a separate view. You can nest pages within other pages and combine it with scout_section.