search

Home  >  Q&A  >  body text

angular.js - Why can't ion-side-menus be displayed? I'm just getting started, so I'm looking for some advice.

<ion-view  padding="true">
    <span>这是主页</span>
    <ion-side-menus>
        <!-- 中间内容 -->
        <ion-side-menu-content ng-controller="ContentController">
        </ion-side-menu-content>

        <!-- 右侧菜单 -->
        <ion-side-menu side="right">
            <ion-item menu-close href="#/app/fall"> 列表页 </ion-item>
        </ion-side-menu>
    </ion-side-menus>
</ion-view>

The dom node is never displayed. Even after changing the code on the api, it still cannot be displayed. . . .

淡淡烟草味淡淡烟草味2841 days ago607

reply all(1)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-05-15 17:13:39

    What is the controller of ion-side-menu

    reply
    0
  • Cancelreply