Expose typed oldState, newState, and optional source accessors alongside the standard synthetic-event helpers.
oldState
newState
source
Based on React DOM 19.3.1’s SyntheticEvent.js and the documented ToggleEvent.source behavior.
ToggleEvent.source
Depends on rescript-lang/rescript#9075
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Add ReactEvent.Toggle bindings
793aa1c
Signed-off-by: Glenn Slotte <glenn@slotte.net>
This comment shows the latest Codex review activity on this pull request.
Expose typed
oldState,newState, and optionalsourceaccessors alongside the standard synthetic-event helpers.Based on React DOM 19.3.1’s SyntheticEvent.js and the documented
ToggleEvent.sourcebehavior.Depends on rescript-lang/rescript#9075