components: [Tabs] Position should not be exposed in documentation

Bug, feature request, or proposal:

Bug

What is the expected behavior?

When setting the <md-card position=number> it should position the tab relative to other position numbers.

What is the current behavior?

position is ignored

What are the steps to reproduce?

https://plnkr.co/edit/Wp2JJ5hS9QwCyZLWqDEn?p=info

What is the use-case or motivation for changing an existing behavior?

When using tabs being able to dynamically position is important (generating in ngFor).

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

@zbagley while you’re touching this, would you mind making a few other small doc changes for md-tab? If you don’t care to, I’ll take a crack later, but it would help clean up the tab api documentation page a lot!

  1. templateLabel has a jsdoc comment that needs backtick escaping (<ng-template md-tab-label>)
  2. I think origin should also not be exposed (leading underscore)
  3. get content() should switch positions with private _contentPortal so that the jsdoc comment is immediately preceding content

cc @andrewseguin: can you verify #2 is a correct assumption? Also as to whether content should even be exposed to the public?

Oh, Sorry. I’m typing from my android and not able to visualize plunks correctly.