本文介绍了在 AngularJs Material 网站中创建一个菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想创建一个类似于 AngularJs Material 网站中的菜单 (
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.
Any ideas?
Thanks
解决方案
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:
How to create an Angular Material Side Menu
这篇关于在 AngularJs Material 网站中创建一个菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!