问题
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