The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Order Dynamic Components Inside an Angular 2 ViewContainer

Order Dynamic Components Inside an Angular 2 ViewContainer

2:08
By default, when you generate components, they will simply be added to the page in order, one after another. Angular 2 provides methods on the ViewContainer that allow you to reorder components once they’ve been created and provide the order that you want.
Watch this lesson now
Avatar
egghead.io

By default, when you generate components, they will simply be added to the page in order, one after another. Angular 2 provides methods on the ViewContainer that allow you to reorder components once they’ve been created and provide the order that you want.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?