angular-cn/public/docs/js/latest/api/lifecycle_hooks/AfterViewInit-interface.jade

36 lines
739 B
Plaintext

p.location-badge.
exported from <a href='../lifecycle_hooks'>angular2/lifecycle_hooks</a>
defined in <a href="https://github.com/angular/angular/tree/2.0.0-alpha.37/modules/angular2/src/core/compiler/interfaces.ts#L141-L157">angular2/src/core/compiler/interfaces.ts (line 141)</a>
:markdown
Notify a directive when the bindings of all its view children have been checked the first time
(whether they have changed or not).
## Example
```
@Component(...)
class MyComponent implements AfterViewInit {
afterViewInit(): void {
}
}
```
.l-main-section
h2 Members
.l-sub-section
h3#afterViewInit afterViewInit
pre.prettyprint
code.
afterViewInit()
:markdown