build(docs-infra): upgrade @angular/* to 8.0.0-beta.14 (#29926)

PR Close #29926
This commit is contained in:
George Kalpakas
2019-04-25 18:06:37 +03:00
committed by Andrew Kushnir
parent 909557d5f8
commit 3def652e18
11 changed files with 80 additions and 75 deletions
@@ -61,7 +61,7 @@ export class ApiListComponent implements OnInit {
{ value: 'security-risk', title: 'Security Risk' }
];
@ViewChild('filter') queryEl: ElementRef;
@ViewChild('filter', { static: true }) queryEl: ElementRef;
constructor(
private apiService: ApiService,
@@ -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;
@@ -48,7 +48,7 @@ export class CodeTabsComponent implements OnInit, AfterViewInit {
@Input() linenums: string;
@ViewChild('content') content;
@ViewChild('content', { static: true }) content;
@ViewChildren(CodeComponent) codeComponents: QueryList<CodeComponent>;
@@ -97,7 +97,7 @@ export class CodeComponent implements OnChanges {
@Output() codeFormatted = new EventEmitter<void>();
/** The element in the template that will display the formatted code. */
@ViewChild('codeContainer') codeContainer: ElementRef;
@ViewChild('codeContainer', { static: true }) codeContainer: ElementRef;
constructor(
private snackbar: MatSnackBar,
@@ -62,7 +62,7 @@ export class LiveExampleComponent implements AfterContentInit {
readonly zip: string;
title: string;
@ViewChild('content')
@ViewChild('content', { static: true })
private content: ElementRef;
constructor(elementRef: ElementRef, location: Location) {
@@ -142,7 +142,7 @@ export class LiveExampleComponent implements AfterContentInit {
export class EmbeddedStackblitzComponent implements AfterViewInit {
@Input() src: string;
@ViewChild('iframe') iframe: ElementRef;
@ViewChild('iframe', { static: true }) iframe: ElementRef;
ngAfterViewInit() {
// DEVELOPMENT TESTING ONLY