//vue js gives you this as a global var var current_document = this.$el; //and this.$el.querySelector('#color').InnerHTML = 'selected the element with color id in the current document'