August 2017
Intermediate to advanced
330 pages
7h 26m
English
The Ionic 3 pages have a component and HTML to complete the page. We created the component for the home page; now let's make changes to the home.html file.
Open home.html and copy the following code from it:
<ion-content padding>
<div *ngIf="formAddEdit">
<form novalidate (ngSubmit)="onSubmit(contactForm)" [formGroup]="contactForm"> <ion-list noline> <ion-item> <ion-label floating danger>First Name</ion-label> <ion-input formControlName="firstname" type="text"></ion-input> </ion-item> <ion-item> <ion-label floating danger>Last Name</ion-label> <ion-input formControlName="lastname" type="text"></ion-input> </ion-item> <ion-item> <ion-label floating danger>Email</ion-label> <ion-input formControlName="email" type="text"></ion-input> ...Read now
Unlock full access