onRadiobuttonValueChanged
@combeenation/custom-code-utils
Variable: onRadiobuttonValueChanged()
constonRadiobuttonValueChanged: (ctrlName,callback,onlyOnSelected,onlyOnDeselected) =>void=CtrlValueChanged.onRadiobuttonValueChanged
Function for assigning a callback to radiobutton value changes
Parameters
ctrlName
string
callback
(value, ctrl) => void
onlyOnSelected
boolean = false
true: only execute the callback if the radiobutton gets selected
onlyOnDeselected
boolean = false
true: only execute the callback if the radiobutton gets deselected
If onlyOnSelected and onlyOnDeselected are true or false simultaniously, the callback
will be executed for both states.
Returns
void