selectChangeHandler | R Documentation |
Add an handler to an input or select that is called when the input value changes
selectChangeHandler(id, fun, ..., eventId = "selectChangeHandlerEvent", jscript = selectChangeHandlerJS(eventId), app = getApp())
id |
name of the input element |
fun |
function that will be called if the input value changes. The function will be called with the arguments: 'id', 'value' and 'session'. One can assign the same handler functions to several input elements. |
... |
extra arguments that will be passed to fun when the event is triggered. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.