Jua*_*sta 2 navigation swipe nativescript
我想在页面之间实现导航,就像通过向左或向右滑动TabView一样.但是,对于页面级别或跨越整个屏幕的布局,似乎不会触发滑动手势.TabView本身没有用,因为我有一大堆用户可以滚动的项目,我不需要在屏幕上显示一堆标签.
有谁知道如何在Nativescript中实现它?
你好StackOverflow和NatieScript!整个屏幕上的布局元素是一个工作选项.
例如:
<Page xmlns="http://schemas.nativescript.org/tns.xsd" xmlns:drawer="nativescript-telerik-ui/sidedrawer" navigatingTo="navigatingTo" loaded="onLoaded">
<StackLayout id="swipable">
<Label text="Swipe to nabigate to next" textWrap="true" />
</StackLayout>
</Page>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2899 次 |
| 最近记录: |