Image for post
Image for post
photo by @amjohnphilip

v-model Directive

Event Modifiers

Code Example

methods:{ formSubmit(){ console.log(this.contact.name); console.log(this.contact.email); this.contact.name='', this.contact.email='', } }
Image for post
Image for post

Conclusion

Web developer, Curious Soul, twitter at @amjohnphilip

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store