Skip to content

Instantly share code, notes, and snippets.

@happyDemon
Created March 4, 2017 08:14
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 happyDemon/d3d324805ab17b099cf9ed88967af7a6 to your computer and use it in GitHub Desktop.
Save happyDemon/d3d324805ab17b099cf9ed88967af7a6 to your computer and use it in GitHub Desktop.
Vue.js explained through Pokemon #5
mounted(){
Vuemit.listen(this.type+'.attack.effective', (effect) => {
this.showAttackEffect(effect);
});
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment