1
|
import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core';
|
2
|
import {Calendar} from '../models/calendar.model';
|
3
|
|
4
|
@Component({
|
5
|
selector: 'app-coming-days-off',
|
6
|
templateUrl: './oncoming-vacation.component.html',
|
7
|
styleUrls: ['./oncoming-vacation.component.sass']
|
8
|
})
|
9
|
export class OncomingVacationComponent implements OnInit {
|
10
|
|
11
|
@Input() oncomingVacation: Calendar[];
|
12
|
|
13
|
@Output() vacationRemove = new EventEmitter<Calendar>();
|
14
|
|
15
|
constructor() { }
|
16
|
|
17
|
ngOnInit() { }
|
18
|
}
|