widgetValueChanged: Is a widget value changed

Description Usage Arguments Value See Also Examples

View source: R/widgetHelper.R

Description

If you use a button then the corresponding element in input delivers the number of times the button was pressed. widgetValueChanged returns a list with information if the internally stored value is different from the corresponding element in input and stores the new value.

Usage

1
widgetValueChanged(env, input)

Arguments

env

a widget object

input

current values of all of the widgets in your app. Is the first parameter of the server function.

Value

named list with the logical values

See Also

widgetActionButton

Examples

1
2
3
4
5
6
## Not run: 
  # Press ESC after finishing the app
  shinyDemo('testDrawSample')
  shinyDemo('testDrawSampleLang')

## End(Not run)

sigbertklinke/mmstat documentation built on May 14, 2019, 8:36 a.m.