Add initial batch of elements

May need to add more but this is a basic start
This commit is contained in:
Ryan Gossiaux
2021-12-20 15:44:23 -08:00
parent 2dbbec3c0b
commit a84941285b
34 changed files with 524 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<script lang="ts">
import { ActionArray, useActions } from "$lib/hooks/use-actions";
import { get_current_component } from "svelte/internal";
import { forwardEventsBuilder } from "../forwardEventsBuilder";
export let use: ActionArray = [];
export let el: HTMLDataListElement | null = null;
const forwardEvents = forwardEventsBuilder(get_current_component());
</script>
<datalist
bind:this={el}
use:useActions={use}
use:forwardEvents
{...$$restProps}
>
<slot />
</datalist>