创建菜单像AngularJs材质网站 [英] Create a menu like in AngularJs Material website

查看:126
本文介绍了创建菜单像AngularJs材质网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要创建( https://material.angularjs.org ),看起来像一个在AngularJs材质网站菜单

I want to create a menu that looks like the one in AngularJs Material website (https://material.angularjs.org)

不幸的是,没有文档或演示做到这一点。

Unfortunately there is not documentation or demo to do that.

任何想法?

感谢

推荐答案

您可以用自己的指令,创建自己的侧面菜单 menuToggle 菜单项,其菜单服务,这是在它们的源文件中找到。我已经在很多项目中使用这个菜单,所以我知道它的工作原理。所有你所要做的就是实现它以同样的方式。我已经写了一篇博客文章,通过这正好这里找到:

You can create your own side menu with their directives menuToggle and menuItem, and their menu service, which are found in their source files. I have used this menu in many projects, so I know it works. All you have to do is implement it the same way. I have wrote a blog post that goes through this found here:

<一个href=\"http://brilliantbritz.com/2015/06/17/creating-your-own-angular-material-right-navigation-menu/\">How创建一个角边料菜单

这篇关于创建菜单像AngularJs材质网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆