Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

The Vue.js Master Class

Post Editor Buttons thumbnail image

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

Post Editor Buttons

🚧 PLEASE NOTE: This masterclass is built with the Options API
vuejs-masterclass

The Composition API Masterclass is coming soon!

In this lesson, we'll improve the post editor buttons based on the computed property isUpdate. We'll also use vue's event modifier to prevent the browser to scroll to the top when we click the edit button.

We'll also add a cancel button that discards the potential changes and closes the editor.