onChange

abstract var onChange: (event: ChangeEvent<HTMLInputElement>, value: String) -> Unit?(source)

Callback fired when a radio button is selected.

Parameters

{string} value The value of the selected radio button. You can pull out the new value by accessing event.target.value (string).