Add 'setSerializer' function (#1792)

This commit is contained in:
Winston Chang
2017-07-18 17:01:06 -05:00
committed by GitHub
parent 86e9cc4896
commit 07cb7c9305
7 changed files with 50 additions and 7 deletions

20
man/setSerializer.Rd Normal file
View File

@@ -0,0 +1,20 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/serializers.R
\name{setSerializer}
\alias{setSerializer}
\title{Add a function for serializing an input before bookmarking application state}
\usage{
setSerializer(inputId, fun, session = getDefaultReactiveDomain())
}
\arguments{
\item{inputId}{Name of the input value.}
\item{fun}{A function that takes the input value and returns a modified
value. The returned value will be used for the test snapshot.}
\item{session}{A Shiny session object.}
}
\description{
Add a function for serializing an input before bookmarking application state
}
\keyword{internal}