2.0.1 • Published 9 months ago
svelte-object v2.0.1
👉 Define objects in your markup-structure!
💫 Driven by Svelte 5's runes for highly robust code
🔥 Handles submit events and validation
This could be your code See REPL
<h3> An array of pets </h3>
<I.Array bind:value={pets}>
{#snippet item(prop)}
<I.Object name={prop.index}>
<Input name='name' min={2}>Pets name</Input>
<Input name='age' type='number'>Pets age</Input>
</I.Object>
{/snippet}
<button on:click={() => pets.push({})}> Add pet </button>
</I.Array>
Note
What are you waiting for? Get Started!
2.0.0-next.1
9 months ago
2.0.1
9 months ago
2.0.0
9 months ago
1.2.0
2 years ago
1.1.1
2 years ago
1.1.0
2 years ago
1.0.0
2 years ago
1.4.2
2 years ago
1.3.3
2 years ago
1.4.1
2 years ago
1.3.2
2 years ago
1.4.0
2 years ago
1.3.1
2 years ago
1.3.0
2 years ago
0.1.6
2 years ago
0.1.5
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago