sveltejs / svelte-preprocess

A ✨ magical ✨ Svelte preprocessor with sensible defaults and support for: PostCSS, SCSS, Less, Stylus, Coffeescript, TypeScript, Pug and much more.
MIT License
1.73k stars 147 forks source link

How to use template literals within svelte element directives? #579

Open geoidesic opened 1 year ago

geoidesic commented 1 year ago

E.g.

DocumentCheckboxInput(bind:value!="{$doc.system.effects[{index}].disabled}")

This is part of an iteration, so I need to bind to a particular index within an array.