This commit is contained in:
Olu Amey
2020-09-12 14:32:27 -04:00
parent e428e58c60
commit fdbf6025a3
+5 -2
View File
@@ -1,4 +1,5 @@
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
@Component({
selector: 'app-home',
@@ -7,11 +8,13 @@ import { Component, OnInit } from '@angular/core';
})
export class HomePage implements OnInit {
constructor() { }
constructor(private router:Router) { }
ngOnInit() {
}
public goTabPages(){
alert("You called me");
// alert("You called me");
this.router.navigateByUrl("member");
}
}