mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build(docs-infra): upgrade @angular/* to 8.0.0-beta.14 (#29926)
PR Close #29926
This commit is contained in:
committed by
Andrew Kushnir
parent
909557d5f8
commit
3def652e18
@@ -79,9 +79,9 @@ export class CodeExampleComponent implements AfterViewInit {
|
||||
|
||||
@HostBinding('class.avoidFile') isAvoid = false;
|
||||
|
||||
@ViewChild('content') content: ElementRef;
|
||||
@ViewChild('content', { static: true }) content: ElementRef;
|
||||
|
||||
@ViewChild(CodeComponent) aioCode: CodeComponent;
|
||||
@ViewChild(CodeComponent, { static: true }) aioCode: CodeComponent;
|
||||
|
||||
ngAfterViewInit() {
|
||||
this.aioCode.code = this.content.nativeElement.innerHTML;
|
||||
|
||||
Reference in New Issue
Block a user