Utility function to disable or re-enable navigation buttons
toggle_navigation_buttons(disable, session = shiny::getDefaultReactiveDomain())
a named logical vector
Shiny session object; default to current Shiny session
disable
should a logical vector with these exact names: first_page
, previous_page
,
next_page
, and last_page
. The logical vectors indicate if the corresponding button will be
enabled or disabled.