1

It works well with only one ion-split-pane.And I have two views in one page.

<ion-split-pane>
  <ion-menu [content]="content">

    <ion-header>
      <ion-toolbar>
        <ion-title>Pages</ion-title>
      </ion-toolbar>
    </ion-header>

    <ion-content>

      <ion-list>
        <ion-item>
          <ion-avatar item-left>
            <img src="assets/img/avatar.jpg">
          </ion-avatar>
          <h2>Cher</h2>
          <p>Ugh. As if.</p>
        </ion-item>
      </ion-list>

    </ion-content>

  </ion-menu>

  <ion-nav [root]="rootPage" #content main></ion-nav>

</ion-split-pane>

After that,I want to implement two side menus on the left through another ion-split-pane.I added the same code in the right view.It was black?!How to deal with the problem?

laker
  • 143
  • 1
  • 1
  • 6

0 Answers0