1.4.2 • Published 9 months ago

svelte-object v1.4.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

👉   Define objects in your markup-structure!
💫   Driven by svelte stores for highly robust code
🔥   Custom valueStore to handle (subscribable) error and warning messages

This could be your code See REPL

<h3> An array of pets </h3>

<Array name='pets' let:value>
	{#each value as item, k}
		<Object name={k}>
			<Input name='name'>Pets name</Input>
			<Input name='age' type='number'>Pets age</Input>
		</Object>
		<button on:click={() => value.removeByIndex(k)}> Remove {item.name} </button>
	{/each}
	<button on:click={() => value.push({})}> Add pet </button>
</Array>

Note
What are you waiting for? Get Started!

1.2.0

9 months ago

1.1.1

9 months ago

1.1.0

9 months ago

1.0.0

9 months ago

1.4.2

9 months ago

1.3.3

9 months ago

1.4.1

9 months ago

1.3.2

9 months ago

1.4.0

9 months ago

1.3.1

9 months ago

1.3.0

9 months ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago