Last active
August 15, 2017 06:31
-
-
Save paramsinghvc/b6a600ed2ad0d0008c3717f02841a31e 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
new Vue({ | |
el: '#events', | |
data: { | |
message: 'Hola Mundo' | |
}, | |
methods: { | |
reverseMessage(e) { | |
this.message = this.message.split('').reverse().join('') | |
} | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment