import {
  Component,
  Input,
  Output,
  EventEmitter,
  OnChanges,
  SimpleChange,
  OnInit,
  ViewContainerRef
} from '@angular/core';
import {AppConstants} from '../shared/app.constants';

@Component({
    selector: 'workspace', 
    template: `
      <router-outlet></router-outlet>
    `,
    styles: [``]
})

export class WorkspaceComponent implements OnChanges, OnInit {
  /* --- Decalrations Starts ---  */    

  //Open Project(s) info
  @Input() open: any;

  //Close project(s) info
  @Input() close: any;


  /* --- Decalrations End ---*/
 
  constructor(
    private viewContainerRef: ViewContainerRef
  ) {    
  }

  ngOnChanges() {}

  ngOnInit() {
    this.calculateWorkspaceHeight();
  }

  calculateWorkspaceHeight() {   
  }
}