TheSpyder / rescript-webapi

ReScript bindings to the DOM and other Web APIs
http://tinymce.github.io/rescript-webapi/api/Webapi/
Other
149 stars 36 forks source link

Add Webapi.Dom.BeforeUnloadEvent.returnValue setter #110

Closed MoOx closed 1 year ago

MoOx commented 1 year ago

returnValue is writable : https://developer.mozilla.org/en-US/docs/Web/API/BeforeUnloadEvent

TheSpyder commented 1 year ago

Oh dear I forgot to check it compiled. I need to add branch CI and more tests 😂

This method conflicts with returnValue right above it, it needs a different name. I'll rename it before publishing.