简体   繁体   English

当用户单击工具提示的“完成”按钮时,如何使用“react-native-copilot”从一个屏幕导航到另一个屏幕

[英]How to use "react-native-copilot" to navigate from one screen to another, when user clicks on "Finish" button of tooltip

I am trying to navigate to new screen when user clicks on "Finish" button of "react-native-copilot", but I am not getting any way to do so.当用户单击“react-native-copilot”的“完成”按钮时,我试图导航到新屏幕,但我没有任何办法这样做。 Any suggestions?有什么建议么?

use stepchange method to track the order number, you know which one is the last number, so track it and put a condition.使用 stepchange 方法跟踪订单号,你知道哪个是最后一个号码,所以跟踪它并设置条件。

if(orderNumber = X) {
    navigation.navigate(...)
     }

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在react-native-copilot的Copilot步骤内传递已实现的组件 - How to pass a already implemented Component inside the Copilot Step in react-native-copilot React Native:如何在 Detox 测试中从一个屏幕导航到另一个屏幕 - React Native: How to navigate from one screen to another in Detox tests 如何在react native>中从一个屏幕导航到另一个屏幕? - How to navigate from one screen to another scree in react native>? 在 React Native 中很难从一个屏幕导航到另一个屏幕 - Having a hard time to navigate from one screen to another in React Native 当从一个屏幕导航到另一个屏幕时,使用 React Native 显示加载微调器 - Using React Native to show a loading spinner when navigate from one screen to another screen 如何在完成提取时如何导航到另一个反应原生屏幕 - how to navigate to another screen in react native when fetch is done 如何使用道具从一个屏幕导航到另一个屏幕? - How do I navigate from one screen to another in react native using props? 如何在 React Native 中导航到另一个屏幕? - How to navigate to another screen in react native? 在 React Native 中点击按钮时如何导航到另一个选项卡? - how to navigate to another tab when tapped on button in react native? 当用户在 React Native 中导航到特定屏幕时,如何跟踪用户的屏幕时间? - How can I track screen time of user when a user navigate to specific screen in react native?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM