diff --git a/src/app/tab1/tab1.page.html b/src/app/tab1/tab1.page.html index cd6968a..6118a25 100644 --- a/src/app/tab1/tab1.page.html +++ b/src/app/tab1/tab1.page.html @@ -8,7 +8,7 @@ - + Welcome to JubaBox @@ -23,7 +23,7 @@ Connect - + diff --git a/src/app/tab1/tab1.page.ts b/src/app/tab1/tab1.page.ts index 75edd13..11330de 100644 --- a/src/app/tab1/tab1.page.ts +++ b/src/app/tab1/tab1.page.ts @@ -1,4 +1,4 @@ -import { Component } from '@angular/core'; +import { Component , ViewChild} from '@angular/core'; @Component({ selector: 'app-tab1', @@ -7,9 +7,10 @@ import { Component } from '@angular/core'; }) export class Tab1Page { +@ViewChild('jubapage') jubapage:any; goConnect(){ - alert(0); + alert(this.jubapage); } }