I recently started creating web component with lit-html. The question is, after I create the component as a js file, I need to set datasource to the element from the page I am calling the component from. I dont want to be doing it from component at all.
Is there a way to define an array from HTML page I am calling the web component from and inserting the datasource inside so it would be fully dynamic ?
Aucun commentaire:
Enregistrer un commentaire