Revision 61412
Added by John Balasis almost 3 years ago
my-array.interface.ts | ||
---|---|---|
44 | 44 |
|
45 | 45 |
@Input() public initEmpty: boolean = false; |
46 | 46 |
|
47 |
@ViewChild(MyFormDirective) protected formComponents: MyFormDirective; |
|
47 |
@ViewChild(MyFormDirective, { static: true }) protected formComponents: MyFormDirective;
|
|
48 | 48 |
|
49 | 49 |
protected _cfr: ComponentFactoryResolver; |
50 | 50 |
|
... | ... | |
155 | 155 |
console.log(`emitted ${array_to_emit.length} interfaces`); |
156 | 156 |
} |
157 | 157 |
|
158 |
@ViewChild('confirmDelete') |
|
158 |
@ViewChild('confirmDelete', {static: false} )
|
|
159 | 159 |
public confirmDelete: ConfirmationDialogComponent; |
160 | 160 |
|
161 | 161 |
@Output() emitShowModal: EventEmitter<void> = new EventEmitter<void>(); |
Also available in: Unified diff
angular upgrade to v8 lts