[Chartjs]-Ionic 3 Angular component load listener

2👍

You can try ngOnInit hook, and ngAfterViewInit.

ngOnInit will be called after data-bound properties of a directive are initialized.

AfterViewInit will be called after a component’s view has been fully initialized.

class Some implements OnInit, AfterViewInit {
  ngOnInit() {
  }
  ngAfterViewInit() {}
}

Leave a comment