Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion modules/angular2/src/dom/html_adapter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ class Html5LibDomAdapter implements DomAdapter {
clearNodes(el) {
throw 'not implemented';
}
appendChild(el, node) => null;
appendChild(el, node) {
throw 'not implemented';
}
removeChild(el, node) {
throw 'not implemented';
}
Expand Down
25 changes: 25 additions & 0 deletions modules/angular2_material/src/components/tabs/tabs.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<style>@import "angular2_material/src/components/tabs/tabs.css";</style>

<!-- Strip of tabs at the top of the content. -->
<div class="md-tabs-wrapper" role="tablist">
<div class="md-tabs-canvas">
<div class="md-pagination-wrapper">

<div *ng-for="#tab of tabs" role="tab" class="md-tab-item md-tab" (^click)="selectTab(tab)"
[class.md-active]="tab == selectedTab">
<div *ng-if="tab.customLabel != null" [md-tab-view-container]="tab.customLabel"></div>
<div *ng-if="tab.customLabel == null">{{tab.label}}</div>
</div>

<div class="md-ink-bar"></div>

</div>
</div>
</div>

<!-- Content of the current tab. -->
<div class="md-tabs-content-wrapper" role="tabpanel">
<div class="md-tab-content">
<template [md-tab-view-container]="selectedTab.content"></template>
</div>
</div>
Loading