mirror of
https://github.com/rstudio/shiny.git
synced 2026-01-10 07:28:01 -05:00
Co-authored-by: Barret Schloerke <schloerke@gmail.com> Co-authored-by: Winston Chang <winston@stdout.org> Co-authored-by: Carson Sievert <cpsievert1@gmail.com> Co-authored-by: Joe Cheng <joe@rstudio.com>
20 lines
621 B
R
20 lines
621 B
R
% 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
|
|
}
|