import { Component, OnInit } from '@angular/core';
import { checkin, checkout } from "src/assets/forms";
@Component({
selector: 'app-home',
template: `
`
})
export class HomeComponent implements OnInit {
checkin: Form = checkin;
checkout: Form = checkout;
action: string = "checkout";
ngOnInit() { }
switch(action: string) {
alert("Are you sure?");
this.action = action;
}
}