* lifecycle-hooks: copy latest to cache * docs(lifecycle-hooks): post-RC5 Dart resync - TS prose: removed mention of `routerOnActivate` which no longer exists in the new router. - TS improvements to the sample code have also been propagated to the Dart sample. Contributes to #2077. E2E tests pass now. * post-review updates
14 lines
393 B
HTML
14 lines
393 B
HTML
<div class="parent">
|
|
<h2>{{title}}</h2>
|
|
|
|
<table>
|
|
<tr><td>Power: </td><td><input [(ngModel)]="power"></td></tr>
|
|
<tr><td>Hero.name: </td><td><input [(ngModel)]="hero.name"></td></tr>
|
|
</table>
|
|
<p><button (click)="reset()">Reset Log</button></p>
|
|
|
|
<!-- #docregion on-changes -->
|
|
<on-changes [hero]="hero" [power]="power"></on-changes>
|
|
<!-- #enddocregion on-changes -->
|
|
</div>
|