ngOnInit () is one of the lifecycle hooks in Angular, called after the constructor() and ngOnChanges() method.
確定! 回上一頁