0

I have a table whose data is bounded through a subscription made to an observable. I want to call a method only after the data is completely bounded to the table.

    <tbody>
       <tr *ngFor="#resource of resources">
             ....
       </tr>
   </tbody>

Any suggestions?

Kannan M
  • 570
  • 2
  • 6
  • 19
  • the Component Life Cycle provides some events, you can find them here: https://angular.io/docs/ts/latest/guide/lifecycle-hooks.html – Hitmands Apr 14 '16 at 16:47
  • The answer in the linked question only works for first render, not when `resources` are added/removed/modified. It also might be called multiple times. – Günter Zöchbauer Apr 14 '16 at 16:49

0 Answers0