feat: enhance plugin navigator,add popSelf and popToRoot
This commit is contained in:
6
doric-web/dist/index.js
vendored
6
doric-web/dist/index.js
vendored
@@ -3994,6 +3994,12 @@ function navigator(context) {
|
||||
pop: (animated = true) => {
|
||||
return context.callNative(moduleName, 'pop', { animated });
|
||||
},
|
||||
popSelf: (animated = true) => {
|
||||
return context.callNative(moduleName, 'popSelf', { animated });
|
||||
},
|
||||
popToRoot: (animated = true) => {
|
||||
return context.callNative(moduleName, 'popToRoot', { animated });
|
||||
},
|
||||
openUrl: (url) => {
|
||||
return context.callNative(moduleName, "openUrl", url);
|
||||
},
|
||||
|
2
doric-web/dist/index.js.map
vendored
2
doric-web/dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user