blob: 873aee7fdbe3b2e069480acd73f284319250071d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
import { Component, OnInit } from '@angular/core';
import { HttpClient } from '@angular/common/http';
class LoginInfo {
username = '';
password = '';
}
@Component({
selector: 'app-home',
templateUrl: './home.component.html',
styleUrls: ['./home.component.css']
})
export class HomeComponent implements OnInit {
loginInfo = new LoginInfo();
message = '';
constructor(/* private http: HttpClient */) { }
ngOnInit() {
}
tryLogin() {
alert('Not implemented!!!');
}
}
|