25 lines
534 B
TypeScript
25 lines
534 B
TypeScript
import {Component} from "@angular/core";
|
|
import {MatTabsModule} from "@angular/material/tabs";
|
|
|
|
@Component({
|
|
selector : "app-root",
|
|
templateUrl : "./app.component.html",
|
|
styleUrls : [ "./app.component.css" ],
|
|
})
|
|
export class AppComponent {
|
|
title = "oai softmodem";
|
|
isscopeavailable = false;
|
|
scopelabel = "";
|
|
constructor()
|
|
{
|
|
this.scopelabel = "";
|
|
this.isscopeavailable = false;
|
|
}
|
|
|
|
onScopeEnabled(enabled: boolean)
|
|
{
|
|
this.isscopeavailable = enabled;
|
|
this.scopelabel = enabled ? "Scope" : "";
|
|
}
|
|
}
|