Aha! In alpha 32 they renamed '<content>' to '<ng-content>'. After doing this, the example worked. (as an aside, would be nice if template complained about <content> if it was no longer supported...)
- Brad On Tuesday, August 4, 2015 at 6:16:13 PM UTC-4, Brad Miller wrote: > > Hi, > I took an excellent article on rendering tab components in Angular 2 > (alpha 27): > http://blog.thoughtram.io/angular/2015/04/09/developing-a-tabs-component-in-angular-2.html > > I tried to get it to run in alpha 33. The only code change to get it to > compile/run was replacing 'Parent' with 'Ancestor'. However, the content > of the child tabs is no longer displaying (should show contents of > currently selected tab). > > See Plunker: http://plnkr.co/edit/GgORPLhLKLBo5rJok0cq?p=preview > > Note that the active tab should be displaying its content (e.g., 'Tab 1 > content'), but it no longer is - how do we fix this? What changed between > alpha 27 and 33 around "<content>" handling? > > Thanks, > Brad > > > > -- 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 http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
