Skip to content

Instantly share code, notes, and snippets.

@philipszdavido
Created September 18, 2017 17:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save philipszdavido/e0adbd41a9f040e145e4e99debe0eb23 to your computer and use it in GitHub Desktop.
Save philipszdavido/e0adbd41a9f040e145e4e99debe0eb23 to your computer and use it in GitHub Desktop.
@Output() upvote = new EventEmitter()
@Output() downvote = new EventEmitter()
upVoteArticle = () => {
this.upvote.emit()
}
downVoteArticle = () => {
this.downvote.emit()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment