I created a custom-component cause I needed to scope the css.
import { defineCustomElement } from "vue";
…
const CustomElement = defineCustomElement(ImportConfig);
window.customElements.define("import-new-custom", CustomElement);
How would I access elements with JS, to change styles dynamically, inside custom-components using vues composition api? I tried utilizing template refs but that doesn't fit all needs.
Appreciate all help. Didn't find any up to date information for Vue.