Add initial batch of elements
May need to add more but this is a basic start
This commit is contained in:
13
src/lib/internal/elements/Bdi.svelte
Normal file
13
src/lib/internal/elements/Bdi.svelte
Normal file
@@ -0,0 +1,13 @@
|
||||
<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: HTMLElement | null = null;
|
||||
const forwardEvents = forwardEventsBuilder(get_current_component());
|
||||
</script>
|
||||
|
||||
<bdi bind:this={el} use:useActions={use} use:forwardEvents {...$$restProps}>
|
||||
<slot />
|
||||
</bdi>
|
||||
Reference in New Issue
Block a user