How to add a side menu with NativeScript + Angular 2 project?

折月煮酒 提交于 2019-12-12 19:14:26

问题


i'm whiling to know how to add a side menu on my current NativeScript + Angular 2 project, I know that has a side menu template, but i started it as blank project and i'm wonder how to add this feature.


回答1:


You will want to use Telerik UI for NativeScript (https://www.npmjs.com/package/nativescript-telerik-ui), please refer to this guide on how to integrate:

http://docs.telerik.com/devtools/nativescript-ui/Controls/Angular/SideDrawer/getting-started

You can see an example of how to wire it up here: http://docs.telerik.com/devtools/nativescript-ui/Controls/Angular/SideDrawer/callbacks




回答2:


I haven't tried it myself, but in the latest blogpost from Nativescript this one was mentioned: https://github.com/ntrp/nativescript-ng2-drawer-seed



来源:https://stackoverflow.com/questions/38778655/how-to-add-a-side-menu-with-nativescript-angular-2-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!