fix: 🩹 do not add attributes to parent component that do not belong there

This commit is contained in:
Sebin Nyshkim 2025-06-10 16:58:09 +02:00
parent 9d9e00c560
commit 778e206f9a
4 changed files with 46 additions and 46 deletions

View file

@ -30,10 +30,10 @@ Sebin knows how to dress!
<ref-gallery>
<ref-img webc:for="ref of Array(4).keys()"
:src="`ref-clothes-${ref + 1}.png`"
:alt="$data.gallery[ref].alt"
:href="$data.gallery[ref].href"
:width="[500, 1000]"
:@src="`ref-clothes-${ref + 1}.png`"
:@alt="$data.gallery[ref].alt"
:@href="$data.gallery[ref].href"
:@width="[500, 1000]"
:@char="$data.firstName.toLowerCase()"
:@artist="$data.gallery[ref].artist"
:@dropshadow="false"