shalugin / horizontal-timeline

Horizontal Timeline Component on Angular2
MIT License
39 stars 22 forks source link

how to update timeline list #3

Open tungphien opened 6 years ago

tungphien commented 6 years ago

I have call request and after respone data, I make data for timeline list but it's not reload my updated timeline. Please help me.

shalugin commented 6 years ago

@tungphien timeline initialized in method https://github.com/shalugin/horizontal-timeline/blob/master/horizontal-timeline/horizontal-timeline.component.ts#L85

So, timeline not updated after view init. But it can be changed. Feel free to create a pull request!