ffmpeg-explorer/src/Input.svelte

16 lines
266 B
Svelte
Raw Normal View History

2023-08-18 17:23:56 -04:00
<script>
import { inputs } from './stores.js';
export let filename="";
export let index;
function remove() {
$inputs.splice(index, 1);
$inputs = $inputs;
}
</script>
<div>
<input bind:value={filename} />
<button on:click={remove}>Remove</button>
</div>