I would like to do something like the following:
addGreenClass(elHrefName) {
var inputElement = document.getElementById(this.$refs.elHrefName.id);
console.log(inputElement);
}
The variable 'elHrefName' in this case is just a passed on string containing the string form of the actual ref value that is being referenced in the vue $ref object. I'm not sure how to convert a string variable being passed on in function to be then utilized as part of a dom reference, in this case a dom reference in the Vue.js $refs property.