Am I the only person to have this problem? I have sites
using http://juristr.com/blog/2016/02/learning-ng2-creating-tab-component/
to create a tabbed display, eg
at
http://www.textualcommunities.org/app/community/?id=57598982b952f25827bd401c&route=view
, where suddenly (as of yesterday) the tabbing is not working.
In brief: we have the tabs set up as follows (with tabs embedded in tabs):
<tc-tabs>
<tc-tab [active]="true" title="Documents">
<tc-tabs>
<tc-tab [active]="true" title="By Page"></tc-tab>
<tc-tab title="By Item"></tc-tab>
</tc-tabs>
<tc-tab title="Collation"></tc-tab>
</tc-tabs>
The key handler for this is the line in the directive:
queries: {
tabs: new ng.core.ContentChildren(Tab),
},
Which *ought* to return an array of the tab children of each tabs object.
This allowed us to use tabs.filter(function(tab) to check and alter the
state of each tab as they were clicked.
And until yesterday, ng.core.ContentChildren did return these children.
Now, it returns an empty array.
Help..!
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.