blob: 285d30639b42eabb134acc5505cac913b4bf7167 [file] [log] [blame]
Alex Perryb3168082022-01-22 13:36:13 -08001import {Component} from '@angular/core';
2
Philipp Schrader72beced2022-03-07 05:29:52 -08003type Tab = 'Entry'|'ImportMatchList';
4
Alex Perryb3168082022-01-22 13:36:13 -08005@Component({
6 selector: 'my-app',
7 templateUrl: './app.ng.html',
Philipp Schrader72beced2022-03-07 05:29:52 -08008 styleUrls: ['./common.css']
Alex Perryb3168082022-01-22 13:36:13 -08009})
10export class App {
Philipp Schrader72beced2022-03-07 05:29:52 -080011 tab: Tab = 'Entry';
12
13 tabIs(tab: Tab) {
14 return this.tab == tab;
15 }
16
17 switchTabTo(tab: Tab) {
18 this.tab = tab;
19 }
Alex Perryb3168082022-01-22 13:36:13 -080020}