I'm new to Vue and wondering where I would declare something like:
const qualityDropdown = document.getElementById("qualityDropdown");
in a single place so I can use it in any lifecycle and / or method in a component without having to re-declare it in every place. Part of the issue being that sometimes elements are created after an axios call and aren't immediately present.
Would this go in data(){return{}} or computed(){}?