File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
modules/angular2/src/core/annotations Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -854,7 +854,7 @@ export class Viewport extends Directive {
854854 * ...,
855855 * lifecycle: [ onDestroy ]
856856 * })
857- * class ClassSet implements OnDestroy {
857+ * class ClassSet {
858858 * onDestroy() {
859859 * // invoked to notify directive of the containing view destruction.
860860 * }
@@ -868,6 +868,11 @@ export const onDestroy = "onDestroy";
868868/**
869869 * Notify a directive when any of its bindings have changed.
870870 *
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+ *
871876 * ## Example:
872877 *
873878 * ```
You can’t perform that action at this time.
0 commit comments