需要创建测试1 2 3 4属于Test
的标题菜单如何使用离子框架中的子菜单创建移动侧面菜单?
<ion-list>
<ion-item menu-close-keep-history href="#/app/profile" class="item-icon-left">
<i class="icon ion-ios-home"></i> Test
</ion-item>
<ion-item menu-close-keep-history href="#/app/assignedtasks" class="item-icon-left">
<i class="icon ion-ios-paper"></i>
test 1
</ion-item>
<ion-item menu-close-keep-history href="#/app/requirements" class="item-icon-left">
<i class="icon ion-ios-paper"></i>
test 2
</ion-item>
<ion-item menu-close-keep-history href="#/app/machinery" class="item-icon-left">
<i class="icon ion-ios-paper"></i>
test 3
</ion-item>
<ion-item menu-close-keep-history href="#/app/chat" class="item-icon-left">
<i class="icon ion-ios-people"></i>
test 4
</ion-item>
<ion-item menu-close-keep-history href="#/app/settings" class="item-icon-left">
<i class="icon ion-ios-gear"></i>
Settings
</ion-item>
<ion-item menu-close-keep-history href="#/app/logout" class="item-icon-left">
<i class="icon ion-ios-locked"></i>
Logout
</ion-item>
</ion-list>