feat(svelte): add event handlers and props, rename class names

This commit is contained in:
moklick
2023-03-01 17:28:59 +01:00
parent 9391b36869
commit e2961bfa8c
38 changed files with 410 additions and 163 deletions
@@ -5,14 +5,14 @@
</script>
<div
class="react-flow__viewport"
class="svelte-flow__viewport"
style="transform: translate({$transform[0]}px, {$transform[1]}px) scale({$transform[2]})"
>
<slot />
</div>
<style>
.react-flow__viewport {
.svelte-flow__viewport {
width: 100%;
height: 100%;
position: absolute;