Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Tab component #177

Merged
merged 11 commits into from
Oct 13, 2017
Merged

Tab component #177

merged 11 commits into from
Oct 13, 2017

Conversation

scote
Copy link
Contributor

@scote scote commented Aug 1, 2017

Fixes #100

First version of tab component. We will enhance it on second version.

✔️ Ready to be reviewed/merged

  • Initial draft for tab component and tab item component + one example in demo page
  • Complete item tab component
  • Complete demo page
  • Implements unit tests
  • Add tab to list of available component in README.md

@jfcere jfcere temporarily deployed to ng2-materialize-pr-177 September 11, 2017 18:58 Inactive
@scote scote force-pushed the tab branch 4 times, most recently from eb0be64 to 7c8d25d Compare September 15, 2017 03:48
@jfcere jfcere added this to the 1.6.0 milestone Sep 22, 2017
@scote scote force-pushed the tab branch 2 times, most recently from 056ce95 to d6e414c Compare September 23, 2017 04:03
@jfcere jfcere self-requested a review September 26, 2017 16:08
onShow: this.onShow,
responsiveThreshold: this.responsiveThreshold,
swipeable: this.swipeable,
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix indent

}

// need setTimeout otherwise loading directly on the page cause an error
this.renderer.invokeElementMethod($(this.tabs.nativeElement), 'tabs', [options]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix indent

}

// need setTimeout otherwise loading directly on the page cause an error
this.renderer.invokeElementMethod($(this.tabs.nativeElement), 'tabs', [options]);
Copy link
Contributor

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>(`
Copy link
Contributor

@jfcere jfcere Sep 26, 2017

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

scote added 5 commits October 1, 2017 22:07
- Add somes examples in demo page.
- Add new property for external link in tab.
- Add tab component view test
@@ -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:..":
Copy link
Contributor

@jfcere jfcere Oct 12, 2017

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

@jfcere jfcere temporarily deployed to ng2-materialize-pr-177 October 13, 2017 14:10 Inactive
@jfcere jfcere merged commit a19029c into master Oct 13, 2017
@jfcere jfcere deleted the tab branch October 13, 2017 14:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants