We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34d75e8 commit 2b6a653Copy full SHA for 2b6a653
modules/angular2/src/core/compiler/interfaces.ts
@@ -5,3 +5,13 @@ import {StringMap} from 'angular2/src/facade/collection';
5
* properties are updated.
6
*/
7
export interface OnChange { onChange(changes: StringMap<string, any>): void; }
8
+
9
+/**
10
+ * Defines lifecycle method [onDestroy] called when a directive is being destroyed.
11
+ */
12
+export interface OnDestroy { onDestroy(): void; }
13
14
15
+ * Defines lifecycle method [onAllChangesDone ] called when the bindings of all its children have been changed.
16
17
+export interface OnAllChangesDone { onAllChangesDone (): void; }
0 commit comments