-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Description
Porting some Ractive code to Svelte, and am not sure how/if conditional attributes are supported:
<div {{#if id}}id="{{id}}" {{/if}} {{#if yadda}}title="{{yadda}}" {{/if}}>...</div>
shows:
Module build failed: Error: Expected >
Is this possible to support? My example above is simplified, so always outputting an attribute with blank string is not a good solution for me.
fregante, kikonen, darxis and YamiOdymel
Metadata
Metadata
Assignees
Labels
No labels