I am able to get the tab headers through md tab & md-tab-label
But md-tab-content not showing. Its not rendering the view. Tried md-tab-body also.
My code:
<md-tab-group>
<md-tab>
<template md-tab-label>Details</template>
<template md-tab-content>
Tab 1
</template>
</md-tab>
<md-tab>
<template md-tab-label>Feed</template>
<template md-tab-content>
Tab 2
</template>
</md-tab>
</md-tab-group>
Output:
Html rendered code as:
<(adding intentionally)div _ngcontent-jdk-10="" class="md-tab-body" role="tabpanel" ng-reflect-id="md-tab-content-0-0" id="md-tab-content-0-0" aria-labelledby="md-tab-label-0-0">
Please HELP!
md-tab-content has been removed. You have how to use tabs in the doc:
https://github.com/angular/material2/blob/master/src/lib/tabs/README.md
Please see the changelog when there is a new release:
https://github.com/angular/material2/blob/master/CHANGELOG.md
Thanks a ton @jelbourn @ocarreterom for your quick response.
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
md-tab-contenthas been removed. You have how to use tabs in the doc:https://github.com/angular/material2/blob/master/src/lib/tabs/README.md