【问题标题】:Nativescript Angular: How do I bind other pages into a TabView?Nativescript Angular:如何将其他页面绑定到 TabView?
【发布时间】:2017-01-09 13:58:46
【问题描述】:

我想设计一个TabView,就像https://www.nativescript.org/blog/guest-post-getting-cozy-with-nativescript's-tabview 中的那个,只是嵌入其他“页面”(Component),但我使用的是naivescript-angular,所以我找不到任何好的教程它。有什么建议吗?

【问题讨论】:

  • 我也有同样的问题。我希望标签视图内容是不同的页面,并且标签视图像菜单栏一样。无法找到使用角度的方法。我不想将所有 html 嵌入到一个页面中。太复杂了

标签: angular typescript nativescript angular2-nativescript


【解决方案1】:

我建议研究 this link 的示例应用程序并探索标签视图示例 here

【讨论】:

  • 不幸的是,这些示例没有回答问题,它们都将 html 代码保留在一个页面中,我希望在不同的页面中有不同的标签视图。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2018-05-15
  • 2018-03-11
  • 1970-01-01
  • 2023-04-09
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多