While creating a new component in angular, you will realize that a method named ngOnInit ( ) appears below the constructor. Every component has a lifecycle.
確定! 回上一頁