Created
June 29, 2017 20:27
-
-
Save matthieu-D/64a13b23c60fb98cf2493b678b05bc71 to your computer and use it in GitHub Desktop.
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 HomePage { | |
hasAnswered = false; | |
answer(number) { | |
this.ga.trackEvent('form', 'vote', 'Hours online', number) | |
.then(() => { | |
this.hasAnswered = true; | |
}); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment