Angular UI 多级下拉切换 [英] Angular UI multi-level Dropdown Toggle
问题描述
我正在尝试使用 Angular UI Dropdown Toggle 创建一个多级/嵌套下拉菜单.
I'm trying to use the Angular UI Dropdown Toggle to create a multi-level / nested drop down.
当我点击下拉菜单的第一层时,它会完全关闭,不会显示第二层.
When I click on the first level of the dropdown it simply closes up altogether and does not reveal the second tier.
我附上了一个非常基本的 plunkr 来演示我想要实现的目标的基本版本.
I've attached a very basic plunkr to demonstrate a bare bones version of what I'm trying to achieve.
http://plnkr.co/edit/c0GbKQoYWICXwd3JRWGV?p=info
任何帮助,非常感谢.
谢谢
推荐答案
子菜单已从 Boostrap 3 中删除,因为它被认为与移动设备无关.
Sub-menu has been removed from Boostrap 3 as it is deemed irrelevant for mobile.
子菜单现在在网络上没有太多位置,尤其是移动网络.它们将在 3.0 中被删除" - https://github.com/twbs/bootstrap/pull/6342
"Submenus just don't have much of a place on the web right now, especially the mobile web. They will be removed with 3.0" - https://github.com/twbs/bootstrap/pull/6342
使用 Bootstrap 3.0.0(最终版)的示例:http://bootply.com/86684
An example that uses Bootstrap 3.0.0 (final): http://bootply.com/86684
来自 StackOverflow 帖子的代码:Bootstrap 3 下拉子菜单丢失
这篇关于Angular UI 多级下拉切换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!