如何在钛中创建侧面菜单?

时间:2022-11-19 23:26:28

I'm starting to program the Titanium Studio and I'm having trouble creating a laterial menu. I wonder how I create this menu and also how I can call every menu option in my app.js

我开始编写Titanium Studio,我在创建一个菜单时遇到了麻烦。我想知道如何创建这个菜单以及我如何调用app.js中的每个菜单选项

2 个解决方案

#1


the most known way is to use the side drawer navigation component from https://github.com/viezel/NappDrawer

最着名的方法是使用https://github.com/viezel/NappDrawer中的侧抽屉导航组件

#2


As csg already mentioned about the NappDrawer module for side drawer navigation. If you are working with Alloy framework(which you should be working now), You can use these widgets

正如csg已经提到过侧抽屉导航的NappDrawer模块。如果您正在使用Alloy框架(您现在应该使用它),您可以使用这些小部件

  1. http://github.com/mdpauley/com.mdpauley.frostedsidebar
  2. https://github.com/FokkeZB/nl.fokkezb.drawer
  3. https://github.com/MadRocket/com.madrocket.ti.slidemenu

#1


the most known way is to use the side drawer navigation component from https://github.com/viezel/NappDrawer

最着名的方法是使用https://github.com/viezel/NappDrawer中的侧抽屉导航组件

#2


As csg already mentioned about the NappDrawer module for side drawer navigation. If you are working with Alloy framework(which you should be working now), You can use these widgets

正如csg已经提到过侧抽屉导航的NappDrawer模块。如果您正在使用Alloy框架(您现在应该使用它),您可以使用这些小部件

  1. http://github.com/mdpauley/com.mdpauley.frostedsidebar
  2. https://github.com/FokkeZB/nl.fokkezb.drawer
  3. https://github.com/MadRocket/com.madrocket.ti.slidemenu