Click action tested

This commit is contained in:
Olu Amey
2021-06-05 21:14:52 -04:00
parent 1cbdecc7e3
commit 62e706655b
2 changed files with 11 additions and 11 deletions
+3 -3
View File
@@ -19,10 +19,10 @@
</ion-label> </ion-label>
</ion-item> </ion-item>
<ion-item href="#"> <ion-item>
<ion-input placeholder="Enter Input"></ion-input> <ion-input placeholder="Enter Code or Name"></ion-input>
</ion-item> </ion-item>
<ion-button expand="block">Continue</ion-button> <ion-button expand="block" (click)="getCodePage()">Continue</ion-button>
</ion-card> </ion-card>
</ion-content> </ion-content>
+8 -8
View File
@@ -1,15 +1,15 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from "@angular/core";
@Component({ @Component({
selector: 'app-start', selector: "app-start",
templateUrl: './start.page.html', templateUrl: "./start.page.html",
styleUrls: ['./start.page.scss'], styleUrls: ["./start.page.scss"],
}) })
export class StartPage implements OnInit { export class StartPage implements OnInit {
constructor() {}
constructor() { } ngOnInit() {}
getCodePage() {
ngOnInit() { alert("we stsrt here");
} }
} }