feat(core): added missing interfaces for onDestroy and onAllChangesDone lifecycle events
This commit is contained in:
parent
34d75e8918
commit
2b6a653050
|
@ -5,3 +5,13 @@ import {StringMap} from 'angular2/src/facade/collection';
|
|||
* properties are updated.
|
||||
*/
|
||||
export interface OnChange { onChange(changes: StringMap<string, any>): void; }
|
||||
|
||||
/**
|
||||
* Defines lifecycle method [onDestroy] called when a directive is being destroyed.
|
||||
*/
|
||||
export interface OnDestroy { onDestroy(): void; }
|
||||
|
||||
/**
|
||||
* Defines lifecycle method [onAllChangesDone ] called when the bindings of all its children have been changed.
|
||||
*/
|
||||
export interface OnAllChangesDone { onAllChangesDone (): void; }
|
||||
|
|
Loading…
Reference in New Issue