dropdown sub menu items
See original GitHub issueCan i create subitems in drop down ? if yes any small example ?
<div class="form-group" *ngFor="let parentItem of menu.children">
<div ngbDropdown class="form-group menu-item">
<a class="btn item" href="javascript:void(0);" id="dropdownMenu1" ngbDropdownToggle>{{parentItem.text}} <b *ngIf="parentItem.children" class="caret"></b></a>
<div class="dropdown-menu" aria-labelledby="dropdownMenu1">
<a *ngFor="let childItem of parentItem.children;" href="{{childItem.url}}" class="dropdown-item">{{childItem.text}}</a>
<!-- I need sub menu items here-->
</div>
</div>
Angular: rc6
ng-bootstrap:1.0.0-alpha.4
Bootstrap:4
Issue Analytics
- State:
- Created 7 years ago
- Reactions:8
- Comments:26 (2 by maintainers)
Top Results From Across the Web
Bootstrap nested (multilevel) Dropdown - free examples
Nested dropdowns built with Bootstrap 5. Tutorial & templates for multilevel navbar dropdowns menu, activated on hover or on click & much more....
Read more >Create Drop-Down Menus – WordPress.com Support
A dropdown menu, or sub-menu, shows additional items when you hover or click on an item in your menu. They can be useful...
Read more >Set up drop-down menus in your online store
You can use drop-down menus to group products, collections, or pages together and make it easier for customers to navigate your online store....
Read more >Dropdowns - Bootstrap
ARIA menus can only contain menu items, checkbox menu items, radio button menu items, radio button groups, and sub-menus. Bootstrap's dropdowns, on the ......
Read more >Tutorial #11: Creating Sub Menu Items (Drop Down Menu ...
This tutorial demonstrates how to create ghost menu items (menu items that don't link to anything) and how to create sub menu items...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This should be definitely supported.
I totally disagree with that this type of functionality does not belong in a browser. This is not a UX best practice. This is a very much needed feature and pushes people towards Material which does support this functionality.