Angular provides life cycle hook ngOnInit by default. · Usually, you will declare all your variables here that will be used in the rest of you component.
確定! 回上一頁