aboutsummaryrefslogtreecommitdiffstats
path: root/src/angular/tabs/tabs.component.html.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/angular/tabs/tabs.component.html.ts')
-rw-r--r--src/angular/tabs/tabs.component.html.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/angular/tabs/tabs.component.html.ts b/src/angular/tabs/tabs.component.html.ts
new file mode 100644
index 0000000..2333b86
--- /dev/null
+++ b/src/angular/tabs/tabs.component.html.ts
@@ -0,0 +1,14 @@
+export default `
+<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>
+`;