Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Created June 8, 2017 20:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthieu-D/a5a9d407d2e031905d050f7aac542339 to your computer and use it in GitHub Desktop.
Save matthieu-D/a5a9d407d2e031905d050f7aac542339 to your computer and use it in GitHub Desktop.
export class LoginDetails {
username: string;
password: string;
}
@Component({
selector: 'page-login',
templateUrl: 'login.html'
})
export class LoginPage {
public loginDetails: LoginDetails;
constructor(public navCtrl: NavController,
public user: User,
public loadingCtrl: LoadingController) {
this.loginDetails = new LoginDetails();
}
.
.
.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment