Project

General

Profile

« Previous | Next » 

Revision 61424

Merging angular-upgrade branch

View differences:

my-wrapper.interface.ts
1 1
/**
2 2
 * Created by stefanos on 19/5/2017.
3 3
 */
4
import { EventEmitter, Input, OnInit, Output, ViewChild, ViewRef } from '@angular/core';
4
import { EventEmitter, Input, OnInit, Output, ViewChild, ViewRef, Directive } from '@angular/core';
5 5
import { Description } from '../../../domain/oa-description';
6 6
import { MyFormDirective } from './my-form.directive';
7 7
import { throwError } from 'rxjs';
8 8

  
9 9

  
10
@Directive()
10 11
export abstract class MyWrapper implements OnInit{
11 12

  
12 13
  @Input() public component: ViewRef;
......
17 18

  
18 19
  @Output() deleteNotifier: EventEmitter<ViewRef> = new EventEmitter();
19 20

  
20
  @ViewChild(MyFormDirective) private formComponents: MyFormDirective;
21
  @ViewChild(MyFormDirective, { static: true }) private formComponents: MyFormDirective;
21 22

  
22 23
  public first = true;
23 24

  

Also available in: Unified diff