Last active
August 29, 2015 14:14
-
-
Save jessecogollo/ffd046b5d8a299d1f623 to your computer and use it in GitHub Desktop.
welcome.js (Proyecto base aurelia.io) Antes app.js
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 Welcome{ | |
constructor(){ | |
this.heading = 'Welcome to the Aurelia Navigation App!'; | |
this.firstName = 'John'; | |
this.lastName = 'Doe'; | |
} | |
get fullName(){ | |
return `${this.firstName} ${this.lastName}`; | |
} | |
welcome(){ | |
alert(`Welcome, ${this.fullName}!`); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment