Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ef106f7

Browse files
DCKTcknitt
authored andcommitted
Add reset navigation function (#15)
* add reset function * fix type
1 parent 44a6811 commit ef106f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/Navigation.re‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ external navigateWithParams: (t, string, Js.t({..})) => unit = "navigate";
2626
[@bs.send] external getParam: (t, string) => Js.nullable('a) = "getParam";
2727
[@bs.send] external getParamWithDefault: (t, string, 'a) => 'a = "getParam";
2828
[@bs.send]
29+
external reset: (t, array(NavigationActions.action), int) => unit = "reset";
30+
[@bs.send]
2931
external addListener:
3032
(
3133
t,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /