ngOnInit is a life cycle hook called by Angular2 to indicate that Angular is done creating the component. ngAfterViewInit is also a lifecycle hook that is ...
確定! 回上一頁