material icon indicating copy to clipboard operation
material copied to clipboard

md-tabs close function

Open aldesabido opened this issue 10 years ago • 3 comments

Is it possible to put the close button inside the tab button? like a small (X) in upper right of the tab. I did search but can't find anything yet. Thanks!

aldesabido avatar Apr 20 '16 01:04 aldesabido

Please post this in the Angular Material Forum

ThomasBurleson avatar Apr 20 '16 03:04 ThomasBurleson

Okay, Thanks!

aldesabido avatar Apr 23 '16 01:04 aldesabido

In order to add close button inside tab button you can write the bellow code:

    <md-tab-label>
      <section layout="row">
        Contrat N°2589 - SAR Michelin &nbsp;&nbsp;
        <i class="material-icons">highlight_off</i>
      </section>
    </md-tab-label>

Berg-it avatar May 14 '16 16:05 Berg-it