get_page: Convenience function to retrieve just the "page" part of the...

View source: R/router.R

get_pageR Documentation

Convenience function to retrieve just the "page" part of the input.

Description

This corresponds to what might be called the "path" component of a URL, except that we're using URLs with hashes before the path & query (e.g.: http://www.example.com/#!/virtual/path?and=params)

Usage

get_page(session = shiny::getDefaultReactiveDomain())

Arguments

session

The current Shiny Session

Value

The current page in a length-1 character vector, or FALSE if the input has no value.


Appsilon/shiny.router documentation built on Sept. 12, 2023, 7:42 p.m.