how do remove underline in side-menu ionic 2

两盒软妹~` 提交于 2019-12-25 12:40:11

问题


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:


  <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.



来源:https://stackoverflow.com/questions/47770341/how-do-remove-underline-in-side-menu-ionic-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!