Created
July 6, 2016 03:01
-
-
Save jorgeucano/5e8c8b63757671e9944b66bdeb72b501 to your computer and use it in GitHub Desktop.
cambio la definicion de app.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class AppComponent{ | |
user: User; | |
isLoggingIn = true; | |
constructor(){ | |
this.user = new User(); | |
} | |
submit():void{ | |
alert("esta el mail: " + this.user.email); | |
} | |
toggleDisplay(){ | |
this.isLoggingIn = !this.isLoggingIn; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment