| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/server-input-handlers.R |
| 3 |
\name{applyInputHandlers} |
| 4 |
\alias{applyInputHandlers} |
| 5 |
\title{Apply input handlers to raw input values} |
| 6 |
\usage{ |
| 7 |
applyInputHandlers(inputs, shinysession = getDefaultReactiveDomain()) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{inputs}{A named list of input values.} |
| 11 |
|
| 12 |
\item{shinysession}{A Shiny session object.} |
| 13 |
} |
| 14 |
\description{ |
| 15 |
The purpose of this function is to make it possible for external packages to |
| 16 |
test Shiny inputs. It takes a named list of raw input values, applies input |
| 17 |
handlers to those values, and then returns a named list of the processed |
| 18 |
values. |
| 19 |
} |
| 20 |
\details{ |
| 21 |
The raw input values should be in a named list. Some values may have names |
| 22 |
like \code{"x:shiny.date"}. This function would apply the \code{"shiny.date"} |
| 23 |
input handler to the value, and then rename the result to \code{"x"}, in the |
| 24 |
output. |
| 25 |
} |
| 26 |
\seealso{ |
| 27 |
registerInputHandler |
| 28 |
} |
| 29 |
\keyword{internal} |