Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export class User {
- username: string;
- password: string;
- }
- //dentro do export class HomaPage coloca esse codigo
- user: User = {
- username: '',
- password: ''
- };
- //usando no html [(ngModel)]="user.username" [(ngModel)]="user.password"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement