Framework | Code size | Bundle size | Author | Github |
---|---|---|---|---|
Angular 2.4.9 | 802 | 2186594 | krawaller | link |
This is an idiomatic Angular 2 solution using TypeScript. No surprises.
We start the interval in the ngAfterViewInit
lifecycle hook.
The computed property is implemented as a getter.