true: only execute the callback if the radiobutton gets selected
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.
Generated using TypeDoc
Function for assigning a callback to radiobutton value changes