feat(change_detection): added onInit and onCheck hooks
This commit is contained in:
@ -11,6 +11,16 @@ export interface OnChange { onChange(changes: StringMap<string, any>): void; }
|
||||
*/
|
||||
export interface OnDestroy { onDestroy(): void; }
|
||||
|
||||
/**
|
||||
* Defines lifecycle method [onCheck] called when a directive is being checked.
|
||||
*/
|
||||
export interface OnCheck { onCheck(): void; }
|
||||
|
||||
/**
|
||||
* Defines lifecycle method [onInit] called when a directive is being checked the first time.
|
||||
*/
|
||||
export interface OnInit { onInit(): void; }
|
||||
|
||||
/**
|
||||
* Defines lifecycle method [onAllChangesDone ] called when the bindings of all its children have
|
||||
* been changed.
|
||||
|
Reference in New Issue
Block a user