-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(tabs): adds the md-tab-group
component
#376
Conversation
import {By} from 'angular2/platform/browser'; | ||
|
||
export function main() { | ||
ddescribe('MdTabGroup', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you forgot a ddescribe
here :)
(keydown.arrowLeft)="focusPreviousTab()" | ||
(keydown.enter)="selectedIndex = focusIndex"> | ||
<div class="md-tab-label" role="tab" md-tab-label-wrapper | ||
*ngFor="#label of labels; #i = index" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let
@robertmesserle Now needs rebasing on my mega change #384 |
<div class="md-tab-body" | ||
*ngFor="let content of contents; let i = index" | ||
[class.md-active]="selectedIndex == i" | ||
[attr.id]="getTabContentId(i)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just id
should work.
} | ||
|
||
/** | ||
* Tracks which element has focus; used for keyboard navigation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/** Gets the index of the tab that currently has focus. */
?
Looks good aside from that one last comment and a needed rebase. |
LGTM |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
@jelbourn @kara @hansl