Skip to content

Commit 08799fa

Browse files
committed
preload
1 parent 1aa581d commit 08799fa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Core.res

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ module Navigation = {
7070
@send
7171
external reset: (navigation, navigationState) => unit = "reset"
7272

73+
@send external preload: (t, string) => unit = "preload"
74+
@send
75+
external preloadWithParams: (t, string, 'params) => unit = "preload"
76+
7377
@send external isFocused: (navigation, unit) => bool = "isFocused"
7478

7579
@send

0 commit comments

Comments
 (0)