diff --git a/public/docs/_examples/lifecycle-hooks/dart/example-config.json b/public/docs/_examples/lifecycle-hooks/dart/example-config.json new file mode 100644 index 0000000000..e69de29bb2 diff --git a/public/docs/_examples/lifecycle-hooks/dart/lib/after_content_component.dart b/public/docs/_examples/lifecycle-hooks/dart/lib/after_content_component.dart index 4e11dc702b..c43ea4de73 100644 --- a/public/docs/_examples/lifecycle-hooks/dart/lib/after_content_component.dart +++ b/public/docs/_examples/lifecycle-hooks/dart/lib/after_content_component.dart @@ -20,7 +20,7 @@ class ChildComponent {
{{comment}}
+{{comment}}
''' // #enddocregion template ) diff --git a/public/docs/_examples/lifecycle-hooks/dart/lib/after_view_component.dart b/public/docs/_examples/lifecycle-hooks/dart/lib/after_view_component.dart index 308e36d9cd..c405c874ac 100644 --- a/public/docs/_examples/lifecycle-hooks/dart/lib/after_view_component.dart +++ b/public/docs/_examples/lifecycle-hooks/dart/lib/after_view_component.dart @@ -22,16 +22,16 @@ class ChildViewComponent {{{comment}}
''', +{{comment}}
''', // #enddocregion template directives: const [ChildViewComponent]) // #docregion hooks class AfterViewComponent implements AfterViewChecked, AfterViewInit { var _prevHero = ''; - + // Query for a VIEW child of type `ChildViewComponent` @ViewChild(ChildViewComponent) ChildViewComponent viewChild; - + // #enddocregion hooks final LoggerService _logger; diff --git a/public/docs/_examples/lifecycle-hooks/dart/lib/counter_component.dart b/public/docs/_examples/lifecycle-hooks/dart/lib/counter_component.dart index 65ae6d00f6..6434b9f8b5 100644 --- a/public/docs/_examples/lifecycle-hooks/dart/lib/counter_component.dart +++ b/public/docs/_examples/lifecycle-hooks/dart/lib/counter_component.dart @@ -17,8 +17,8 @@ import 'spy_directive.dart'; styles: const [ '.counter {background: LightYellow; padding: 8px; margin-top: 8px}' ], - directives: const [Spy]) -class MyCounter implements OnChanges { + directives: const [SpyDirective]) +class MyCounterComponent implements OnChanges { @Input() num counter; List