Angular UI多级下拉菜单切换 [英] Angular UI multi-level Dropdown Toggle

查看:559
本文介绍了Angular UI多级下拉菜单切换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Angular UI 下拉菜单切换创建一个多层次/嵌套下拉菜单。

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.

< a href =http://plnkr.co/edit/c0GbKQoYWICXwd3JRWGV?p=info =nofollow> 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

使用Bootstrap 3.0.0(最终)的示例: http://bootply.com/86684

An example that uses Bootstrap 3.0.0 (final): http://bootply.com/86684

StackOverflow发布的代码:
Bootstrap 3下拉子菜单缺少

Code from StackOverflow post: Bootstrap 3 dropdown sub menu missing

这篇关于Angular UI多级下拉菜单切换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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