[Vuejs]-Append html button to external component Vue js

2👍

You could create the button using javascript as below:

...
const myElement = this.$refs.myVueDropzone.$el.querySelector(".dz-details");
var button = document.createElement("button");
button.innerHTML  = "New Button";
myElement.appendChild(button);
...

Leave a comment