tables keyboard navigation

This commit is contained in:
Jan Prochazka
2024-11-22 09:45:01 +01:00
parent a497467137
commit 1a930acf0a
4 changed files with 56 additions and 8 deletions

View File

@@ -1,4 +1,12 @@
<div on:drop><slot /></div>
<script lang="ts">
let domDiv;
export function scrollTop() {
domDiv.scrollTop = 0;
}
</script>
<div on:drop bind:this={domDiv}><slot /></div>
<style>
div {