From 84b60b5329a89e3e232b44c9eb4b53497ad3583c Mon Sep 17 00:00:00 2001 From: Olu Amey Date: Fri, 10 Jan 2020 11:18:42 -0500 Subject: [PATCH] fix --- src/app/tab1/tab1.page.html | 4 ++-- src/app/tab1/tab1.page.ts | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) 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); } }