Skip to content

Commit e2c5b61

Browse files
authored
Add Webapi.Dom.BeforeUnloadEvent.returnValue setter
`returnValue` is writable : https://developer.mozilla.org/en-US/docs/Web/API/BeforeUnloadEvent
1 parent 36f3081 commit e2c5b61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Webapi/Dom/Webapi__Dom__BeforeUnloadEvent.res

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ include Webapi__Dom__Event.Impl({
88
@new external makeWithOptions: (string, {..}) => t = "BeforeUnloadEvent"
99

1010
@get external returnValue: t => string = "returnValue"
11+
@set external returnValue: (t, string) => unit = "returnValue"

0 commit comments

Comments
 (0)