aboutsummaryrefslogtreecommitdiffstats
path: root/src/angular/tabs/tabs.component.html.ts
blob: ac82dd63d6b9ccb13ce6a9d993d2eeac0047beee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export const template = `
<ul class="sdc-tabs-list" role="tablist">
    <li *ngFor="let tab of tabs" class="sdc-tab" role="tab" (click)="selectTab(tab)" [class.sdc-tab-active]="tab.active">
        <span *ngIf="tab.title">{{tab.title}}</span>
        <svg-icon-label
            *ngIf="tab.titleIcon"
            [name]="tab.titleIcon"
            [mode]="tab.titleIconMode"
            [size]="_size">
        </svg-icon-label>
    </li>
</ul>
<ng-content></ng-content>
`;