-
Notifications
You must be signed in to change notification settings - Fork 75
Tab component #177
Tab component #177
Conversation
eb0be64
to
7c8d25d
Compare
056ce95
to
d6e414c
Compare
src/app/tab/tab.component.ts
Outdated
onShow: this.onShow, | ||
responsiveThreshold: this.responsiveThreshold, | ||
swipeable: this.swipeable, | ||
} |
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.
Fix indent
src/app/tab/tab.component.ts
Outdated
} | ||
|
||
// need setTimeout otherwise loading directly on the page cause an error | ||
this.renderer.invokeElementMethod($(this.tabs.nativeElement), 'tabs', [options]); |
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.
Fix indent
src/app/tab/tab.component.ts
Outdated
} | ||
|
||
// need setTimeout otherwise loading directly on the page cause an error | ||
this.renderer.invokeElementMethod($(this.tabs.nativeElement), 'tabs', [options]); |
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.
Fix indent
|
||
it('should select tab item 2', async() => { | ||
|
||
buildComponent<any>(` |
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.
Remove <any>
everywhere for buildComponent
- Add somes examples in demo page. - Add new property for external link in tab.
- Add tab component view test
demo-app/yarn.lock
Outdated
@@ -3691,7 +3691,7 @@ ng2-markdown-to-html@^1.3.1: | |||
marked "^0.3.6" | |||
prismjs "^1.6.0" | |||
|
|||
"ng2-materialize@file:../": | |||
"ng2-materialize@file:..": |
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.
Keep the /
... this is why AppVeyor complains
Fixes #100
First version of tab component. We will enhance it on second version.
✔️ Ready to be reviewed/merged