sveltejs / svelte-preprocess

A ✨ magical ✨ Svelte preprocessor with sensible defaults and support for: PostCSS, SCSS, Less, Stylus, Coffeescript, TypeScript, Pug and much more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use template literals within svelte element directives?

geoidesic opened this issue · comments

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.