To describe lifecycle method (hooks) you need implement interface contains this method. There are several build-in Angular interfaces OnInit, OnChanges, ...
確定! 回上一頁