Add a function for serializing an input before bookmarking application state — setSerializer

v1.7.4|Source: R/serializers.R

Description

Add a function for serializing an input before bookmarking application state

setSerializer(inputId, fun, session = getDefaultReactiveDomain())

Arguments

inputId

Name of the input value.

fun

A function that takes the input value and returns a modified value. The returned value will be used for the test snapshot.

session

A Shiny session object.