how do remove underline in side-menu ionic 2

2019-08-18 17:25发布

I've create a side menu. and button inside it

<ion-content style="background-image: url(assets/imgs/background.jpg)" >
<div id="sideBody">
      <ion-list>
        <button menuClose  ion-item *ngFor="let p of Func.getPages()" (click)="openPage(p, p.title)">
          {{p.title}}
        </button>
      </ion-list>
</div>
</ion-content>
</ion-menu>

how to make underline inside menu not showing and how change color text menu?

1条回答
够拽才男人
2楼-- · 2019-08-18 18:06
  <ion-list no-lines>
    <button menuClose  ion-item *ngFor="let p of Func.getPages()" (click)="openPage(p, p.title)">
      {{p.title}}
    </button>
  </ion-list>

Simply by putting no-lines property in like above i had edited your code.

查看更多
登录 后发表回答