states

fun Listener<*, HTMLInputElement>.states(): Flow<Boolean>

Extracts the HTMLInputElement.checked state from the Event.target.