Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. <ion-item>
  2. <ion-label position="floating">
  3. Contraseña antigua
  4. </ion-label>
  5. <ion-input type="password" [(ngModel)]="Antigua" (ngModelChange)="cambio($event)">
  6.  
  7. </ion-input>
  8. </ion-item>
  9.  
  10. <ion-item>
  11. <ion-label position="floating">
  12. Contraseña nueva
  13. </ion-label>
  14. <ion-input type="password" [(ngModel)]="Nueva" (ngModelChange)="cambio($event)">
  15.  
  16. </ion-input>
  17. </ion-item>
  18.  
  19. export class CambioContraseniaPage {
  20.  
  21. // "value" passed in componentProps
  22. @Input() value: number;
  23. Antigua: string = '';
  24. Nueva: string = '';
  25. Repite: string = '';
  26. Msg: string = '';
  27.  
  28. cambio(event) {
  29. console.log(this.Antigua);
  30. }
  31.  
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement