mirror of
https://github.com/rstudio/shiny.git
synced 2026-01-13 17:08:05 -05:00
* Add onTestSnapshot function * Add shiny.testing option * Add entry to staticdocs index * Bump version to 0.14.1.9002 and update NEWS * Document params for onTestSnapshot * Add session$enableTestEndpoint() method * Un-export applyInputHandlers * Grunt * Provide inputs, outputs, and snapshot at test endpoint * Remove non-working example * Fix var name in documentation * Rename shiny.testing to shiny.testmode * Rename onTestSnapshot to exportTestValues and add example * Add session$getTestEndpointUrl * Grunt * Add module support to exportTestValues * Test endpoint allows specifying specific values * session$getTestEndpointUrl: add arguments for choosing which values to return
31 lines
942 B
R
31 lines
942 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/server-input-handlers.R
|
|
\name{applyInputHandlers}
|
|
\alias{applyInputHandlers}
|
|
\title{Apply input handlers to raw input values}
|
|
\usage{
|
|
applyInputHandlers(inputs, shinysession = getDefaultReactiveDomain())
|
|
}
|
|
\arguments{
|
|
\item{inputs}{A named list of input values.}
|
|
|
|
\item{shinysession}{A Shiny session object.}
|
|
}
|
|
\description{
|
|
The purpose of this function is to make it possible for external packages to
|
|
test Shiny inputs. It takes a named list of raw input values, applies input
|
|
handlers to those values, and then returns a named list of the processed
|
|
values.
|
|
}
|
|
\details{
|
|
The raw input values should be in a named list. Some values may have names
|
|
like \code{"x:shiny.date"}. This function would apply the \code{"shiny.date"}
|
|
input handler to the value, and then rename the result to \code{"x"}, in the
|
|
output.
|
|
}
|
|
\seealso{
|
|
registerInputHandler
|
|
}
|
|
\keyword{internal}
|
|
|