Open pratapvardhan opened 3 years ago
1954148: Documents dynamic creation of elements
Added: Would like to set data via fetch
/ Promises
inside the template. For example, <bs-card url="./data?"><bs-card>
. I should be able to set data variable in the script tag after promise is completed? Let me know if this isn't clear.
fetch
/Promises
inside the template. For example,<bs-card url="./data?"><bs-card>
. I should be able to set data variable in the script tag after promise is completed?e.target
in the example$('elsewhere').html('<main-element" value="update world"><main-element>')
document.createElement('main-element')
probably?