Skip to content
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

Add id parameter in TabDitective #1908

Closed
akarabach opened this issue Apr 18, 2017 · 0 comments
Closed

Add id parameter in TabDitective #1908

akarabach opened this issue Apr 18, 2017 · 0 comments

Comments

@akarabach
Copy link
Contributor

akarabach commented Apr 18, 2017

I want create inline tabs like this

<tabset>
  <my-wrapper>
    <tab [heading]="'tab1'" [id]="'unique1''">
      <tabset>
        <my-wrapper>
          <tab [heading]="'tab1'" [id]="'unique2'"></tab>
        </my-wrapper>
        <my-wrapper>
          <tab [heading]="'tab2'" [id]="'unique3'"></tab>
        </my-wrapper>
      </tabset>
    </tab>
  </my-wrapper>
</tabset>

Before i want control tabs from my-wrapper (@ContenChildren(TabDirective)), but my tabs have the same heading and i don't how i can distinguish tabs by heading.
Please, add id parameter in TabDirective

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants