2 ms·
Oh, I see. Looking further into the docs, I see that a JavaScript expression can be added inside an attribute string: <a href="page/{p}">page {p}</a> https://
by benatkin 7y ago
Oh, I see. Looking further into the docs, I see that a JavaScript expression can be added inside an attribute string:
<a href="page/{p}">page {p}</a>
https://svelte.dev/docs#Attributes_and_props https://svelte.dev/docs#Attributes_and_props
It seems like a neat design.