angular-cn/public/docs/js/latest/api/annotations/onAllChangesDone-const.jade

27 lines
710 B
Plaintext
Raw Normal View History

2015-06-01 22:51:00 -07:00
.l-main-section
2015-06-02 09:05:05 -07:00
h2 onAllChangesDone <span class="type">variable</span>
p.location-badge.
exported from <a href='../annotations'>angular2/annotations</a>
defined in <a href="https://github.com/angular/angular/tree/3a0410a/modules/angular2/src/core/annotations_impl/annotations.ts#L1127-L1127">angular2/src/core/annotations_impl/annotations.ts (line 1127)</a>
2015-06-01 22:51:00 -07:00
2015-06-02 09:05:05 -07:00
:markdown
Notify a directive when the bindings of all its children have been checked (whether they have
changed or not).
2015-06-02 09:05:05 -07:00
## Example:
```
@Directive({
selector: '[class-set]',
lifecycle: [onAllChangesDone]
})
class ClassSet {
onAllChangesDone() {
}
}
```
2015-06-01 22:51:00 -07:00