Skip to content

Commit 91af60c

Browse files
authored
Merge pull request #110 from MoOx/patch-1
Add Webapi.Dom.BeforeUnloadEvent.returnValue setter
2 parents 36f3081 + e2c5b61 commit 91af60c

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)