Pending_Animation #
import Pending_Animation from '@ryanatkn/fuz/Pending_Animation.svelte'; <Pending_Animation /> ••• The default animation has text children, so they scale with font-size.
Set size with custom properties:
<Pending_Animation --font_size="var(--font_size_xl5)" /> Set size with classes:
<Pending_Animation attrs={{class: 'font_size_xl3'}} /> •••
Size is inherited by default:
<div class="font_size_xl4"><Pending_Animation /></div> •••
With inline #
inline<Pending_Animation inline /> with inline={} •••
With custom children #
<Pending_Animation --font_size="var(--font_size_xl6)">
{🐢}
</Pending_Animation> with children
With children index prop #
index prop<Pending_Animation>
{#snippet children(index)}
<div class="box">
{🐸}
{index}
<span class="font_size_xl5">
{⏳}
</span>}
</div>
{/snippet}
</Pending_Animation> with running={}
and children
🐸 0 ⏳
🐸 1 ⏳
🐸 2 ⏳
With custom duration #
<Pending_Animation --animation_duration="var(--duration_6)" --font_size="var(--font_size_xl4)" />