feat(core): added support for detecting lifecycle events based on interfaces

This commit is contained in:
vsavkin
2015-05-27 08:08:14 -07:00
parent 2b6a653050
commit 30b6542fc8
12 changed files with 257 additions and 60 deletions

View File

@ -12,6 +12,7 @@ export interface OnChange { onChange(changes: StringMap<string, any>): void; }
export interface OnDestroy { onDestroy(): void; }
/**
* Defines lifecycle method [onAllChangesDone ] called when the bindings of all its children have been changed.
* Defines lifecycle method [onAllChangesDone ] called when the bindings of all its children have
* been changed.
*/
export interface OnAllChangesDone { onAllChangesDone (): void; }
export interface OnAllChangesDone { onAllChangesDone(): void; }