Commit 7feb76ad by abraham

Merge branch 'abraham' into 'master'

Abraham See merge request !8
parents b979221a 94401b82
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import { Router,ActivatedRoute } from '@angular/router';
@Component({ @Component({
selector: 'app-loginaccount', selector: 'app-loginaccount',
...@@ -6,10 +7,22 @@ import { Component, OnInit } from '@angular/core'; ...@@ -6,10 +7,22 @@ import { Component, OnInit } from '@angular/core';
styleUrls: ['./loginaccount.component.scss'] styleUrls: ['./loginaccount.component.scss']
}) })
export class LoginaccountComponent implements OnInit { export class LoginaccountComponent implements OnInit {
con2=false;
constructor() { } con1=false;
constructor(
private router: Router,
private route: ActivatedRoute,
) { }
ngOnInit() { ngOnInit() {
} }
goToPage(path,data=null){
this.router.navigateByUrl(path,{queryParams:data});
}
onKey2(event: any) {
this.con2 = !this.con2;
}
onKey1(event: any) {
this.con1 = !this.con1;
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment