docs(core): cleanup todo notes in ContentChild documentation examples (#26543)
PR Close #26543
This commit is contained in:
parent
4efb460127
commit
83c9bff242
@ -15,7 +15,6 @@ class ChildDirective {
|
|||||||
|
|
||||||
@Directive({selector: 'someDir'})
|
@Directive({selector: 'someDir'})
|
||||||
class SomeDir implements AfterContentInit {
|
class SomeDir implements AfterContentInit {
|
||||||
// TODO(issue/24571): remove '!'.
|
|
||||||
@ContentChild(ChildDirective) contentChild !: ChildDirective;
|
@ContentChild(ChildDirective) contentChild !: ChildDirective;
|
||||||
|
|
||||||
ngAfterContentInit() {
|
ngAfterContentInit() {
|
||||||
|
@ -23,9 +23,7 @@ export class Pane {
|
|||||||
`
|
`
|
||||||
})
|
})
|
||||||
export class Tab {
|
export class Tab {
|
||||||
// TODO(issue/24571): remove '!'.
|
|
||||||
@ContentChildren(Pane) topLevelPanes !: QueryList<Pane>;
|
@ContentChildren(Pane) topLevelPanes !: QueryList<Pane>;
|
||||||
// TODO(issue/24571): remove '!'.
|
|
||||||
@ContentChildren(Pane, {descendants: true}) arbitraryNestedPanes !: QueryList<Pane>;
|
@ContentChildren(Pane, {descendants: true}) arbitraryNestedPanes !: QueryList<Pane>;
|
||||||
|
|
||||||
get serializedPanes(): string {
|
get serializedPanes(): string {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user