带子菜单的离子侧菜单

时间:2015-10-26 06:09:33

标签: html mobile menu ionic submenu

需要创建测试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>

0 个答案:

没有答案