is_page {shiny.router} | R Documentation |
Is page
Description
Tell the reactive chain to halt if we're not on the specified page. Useful for making sure we don't waste cycles re-rendering the UI for pages that are not currently displayed.
Usage
is_page(page, session = shiny::getDefaultReactiveDomain(), ...)
Arguments
page |
The page to display. Should match one of the paths sent to the |
session |
Shiny session |
... |
Other parameters are sent through to |
[Package shiny.router version 0.3.1 Index]