如何使用 NativeScript + Angular 2 项目添加侧边菜单? [英] How to add a side menu with NativeScript + Angular 2 project?
问题描述
我想知道如何在我当前的 NativeScript + Angular 2 项目中添加侧边菜单,我知道它有一个侧边菜单模板,但我将它作为空白项目开始,我想知道如何添加此功能.
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.
推荐答案
您将希望使用 Telerik UI for NativeScript (https://www.npmjs.com/package/nativescript-telerik-ui),如何集成请参考本指南:
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
您可以在此处查看如何连接的示例:http://docs.telerik.com/devtools/nativescript-ui/Controls/Angular/SideDrawer/callbacks
You can see an example of how to wire it up here: http://docs.telerik.com/devtools/nativescript-ui/Controls/Angular/SideDrawer/callbacks
这篇关于如何使用 NativeScript + Angular 2 项目添加侧边菜单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!