get_query_param: Get Query Parameters

Description Usage Arguments Value

View source: R/paths.R

Description

Convenience function to retrieve any params that were part of the requested page. The param values returned come from "httr::parse_url()"

Usage

1
get_query_param(field = NULL, session = shiny::getDefaultReactiveDomain())

Arguments

field

If provided, retrieve only a param with this name. (Otherwise, return all params)

session

The Shiny session

Value

The full list of params on the URL (if any), as a list. Or, the single requested param (if present). Or NULL if there's no input, or no params.


Appsilon/shiny.router documentation built on May 3, 2021, 5:33 a.m.