We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d85b83 commit d304f41Copy full SHA for d304f41
1 file changed
modules/angular2/src/core/annotations/annotations.js
@@ -854,7 +854,7 @@ export class Viewport extends Directive {
854
* ...,
855
* lifecycle: [ onDestroy ]
856
* })
857
- * class ClassSet implements OnDestroy {
+ * class ClassSet {
858
* onDestroy() {
859
* // invoked to notify directive of the containing view destruction.
860
* }
@@ -868,6 +868,11 @@ export const onDestroy = "onDestroy";
868
/**
869
* Notify a directive when any of its bindings have changed.
870
*
871
+ * This method is called right after the directive's bindings have been checked,
872
+ * and before any of its children's bindings have been checked.
873
+ *
874
+ * It is invoked only if at least one of the directive's bindings has changed.
875
876
* ## Example:
877
878
* ```
0 commit comments