Ho to dynamically add sub menu items
Aberta
- Linguagem predominante
- JavaScript
- Estrelas
- 11.3k
- Forks
- 3k
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
Can anybody provide an example as to how to create sub menu links dynamically?
I have a route "/rooms" and would like to display a sub menu of the rooms under "rooms" which l obtain via REST with the Rooms Controller and link each sub menu item to "/rooms/info/roomNumber"
- Rooms
-- Room1
-- Room2
-- Room3
I have checked the documentation and found:
baSidebarServiceProvider.addStaticItem({
title: 'Menu Level 1',
icon: 'ion-ios-more'
});
but I'm not sure how to proceed with it.
Thanks!
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.